Skip to content
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

Accessibility: Remove unnecessary ARIA #11838

Closed
cjcenizal opened this issue May 17, 2017 · 1 comment
Closed

Accessibility: Remove unnecessary ARIA #11838

cjcenizal opened this issue May 17, 2017 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Project:Accessibility Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.

Comments

@cjcenizal
Copy link
Contributor

Some ARIA usage enhances accessibility, but there is also unnecessary and incorrect ARIA. According to the W3C, the first rule of ARIA is: "If you can use a native HTML element [HTML5] or attribute with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so." (http://www.w3.org/TR/aria-in-html/#first-rule-of-aria-use).

Native HTML elements support standard keyboard interactions by default, reducing the amount of scripting needed for custom elements. Incorrect use of ARIA is also a failure of the fourth principle of WCAG 2.0—Robust (specifically Success Criterion 4.1.2).

We should audit Kibana, app by app, and check that each instance of aria- attributes has been applied correctly. We should also update this issue with examples of incorrect ARIA use as they're found, so we can start to identify common anti-patterns,.

@cjcenizal cjcenizal added the Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. label May 17, 2017
@tbragin tbragin added the bug Fixes for quality problems that affect the customer experience label Jul 28, 2017
@timroes
Copy link
Contributor

timroes commented Nov 21, 2017

Checked all possible aria- attributes that could have been also native attributes, but it seems we are not having any unnecessary ARIA (anymore).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Project:Accessibility Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.
Projects
None yet
Development

No branches or pull requests

3 participants