Deprecated ARIA roles must not be used
How to Fix the Problem
Ensure all values assigned to role=""
correspond to WAI-ARIA
roles that are not deprecated, or abstract. The following list indicates for
each deprecated role a potential alternative that is better supported by
assistive technologies:
-
directory: Consider using
section
,list
, ortree
instead. Which is most appropriate depends on howdirectory
was used.
Why it Matters
Using deprecated WAI-ARIA roles is bad for accessibility. They will not be recognized or correctly processed by screen readers and other assistive technologies. Using these means not everyone will be able to access essential information.
Rule Description
Values assigned to ARIA role values must not be deprecated.
The Algorithm (in simple terms)
Check all elements containing WAI-ARIA role attribute to ensure that the role is not deprecated in the latest version of the WAI-ARIA specification.