-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolbar is incorrectly marked up #1404
Comments
@Comandeer maybe you could help with creating names for toolbar's label.
Should those toolbars have different names? Maybe with your experience in accessibility, you have some idea how those Toolbars could be named? I appreciate any help with that matter. |
I do not see a need to create different labels for each toolbar types – it would be needed only in a case of having more than one toolbar inside one editor. Toolbar's label can be really generic, just to communicate that it's an editor's toolbar. ARIA Practices propose "Text formatting". |
Fix: All editor toolbars should come with the `role` and `aria-label` attributes. Closes ckeditor/ckeditor5#1404. BREAKING CHANGE: The `ToolbarView` class requires the [editor locale](https://ckeditor.com/docs/ckeditor5/latest/api/module_utils_locale-Locale.html) to be passed into the constructor.
Other: The widget toolbar should have a proper `aria-label` attribute (see ckeditor/ckeditor5#1404).
Other: The table widget toolbar should have a proper `aria-label` attribute (see ckeditor/ckeditor5#1404).
Other: The image widget toolbar should have a proper `aria-label` attribute (see ckeditor/ckeditor5#1404).
Other: The media widget toolbar should have a proper `aria-label` attribute (see ckeditor/ckeditor5#1404).
Is this a bug report or feature request? (choose one)
🐞 Bug report
💻 Version of CKEditor
https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html
📋 Steps to reproduce
✅ Expected result
Toolbar has proper label and
[role=toolbar]
.❎ Actual result
Toolbar does not have label and
[role]
.📃 Other details that might be useful
https://w3c.github.io/aria-practices/examples/toolbar/toolbar.html
The text was updated successfully, but these errors were encountered: