Deprecated ARIA roles must not be used
修正方法
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.
なぜ重要なのか
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.
ルールの説明
Values assigned to ARIA role values must not be deprecated.
仕組みについて (簡単に言うと)
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.