jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.43k stars 1.16k forks source link

Link button doesn't show aria-expanded #704

Open denn1s opened 6 years ago

denn1s commented 6 years ago

Other buttons, like embed, emoji and image show the following attributes when expanded: <div class="rdw-embedded-wrapper" aria-haspopup="true" aria-label="rdw-embedded-control" aria-expanded="true"> but the link button, shows none when using inDropdown false. This seems to be because in src/controls/Link/Component/index.js (line 163) it is passing aria-expanded and aria-haspopup to the Option component but the Option component is not handling them in any way.

Currently, there is no way of knowing if the dropdown is open for styling.

nareshpingale commented 2 years ago

Any update on this issue ?

nareshpingale commented 2 years ago

solved in the #1271

image