All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.rules.javascript.S6793.html Maven / Gradle / Ivy

There is a newer version: 10.17.0.28100
Show newest version

Why is this an issue?

ARIA (Accessible Rich Internet Applications) attributes are used to enhance the accessibility of web content and web applications. These attributes provide additional information about an element’s role, state, properties, and values to assistive technologies like screen readers.

This rule checks that the values of ARIA attributes "aria-*" in DOM elements are valid.

How to fix

Check that each element with a defined ARIA attribute has a valid value.

<span aria-hidden="ok">foo</span>

To fix the code use a valid value for the aria-* attribute.

<span aria-hidden="true">foo</span>

Resources

Documentation

Standards





© 2015 - 2024 Weber Informatics LLC | Privacy Policy