Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
I can't focus on the draftail buttons using keyboard. All of them have a tabindex="-1"
on the file ToolbarButton.js:55
This is a matter or accesibility Is there a reason for this attribute on the toolbar?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. GIFs and screenshots are very helpful too.
Only using keyboard: Focus (using tab key) on an toolbar button (bold, for example) on draftail and try to select (pressing enter key) it and to set the text on bold.
What is the expected behavior?
To be able to use the keyboard to select the button
tag and afterwards write in bold text in the textarea.
Which versions of Draftail + Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draftail or Draft.js?
v0.17.1
Using all major browsers, latest versions
I'll be happy to PR a fix if bug is confirmed. Thanks for your work!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4