sibiraj-s / ngx-editor

🖋️ Rich Text Editor for angular using ProseMirror
https://sibiraj-s.github.io/ngx-editor/
MIT License
458 stars 191 forks source link

[Feature request]: Menu Keyboard Accessibility #531

Closed davideblakeman closed 6 months ago

davideblakeman commented 7 months ago

Proposal

I request keyboard accessibility for the menu so I can skip having to create my own custom menu bar and avoid the technical debt of having to replace a custom menu bar if this is implemented in future. Just adding tabindex="0" to all the ngx-toggle-command and other buttons would suffice. But to be WCAG compliant also adding aria-label and role="button" descriptions for screen readers would also be desirable.

Willing to submit a PR?

Yes if my assistance is requested and when I find time.

sibiraj-s commented 6 months ago

Fixed in v17.1.0, the items are now button and added roles, aria-label, etc wherever applicable.

github-actions[bot] commented 5 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.