Skip to content

Add standards support to return needs-review for not-recommended-but-valid ARIA roles/attributes #5247

Description

@chutchins25

Follow-up from the discussion on #3341.

When axe encounters ARIA that is valid but not recommended / deprecated, we currently either pass it or (for deprecated attributes, after #3341) mark it as needs-review by wiring a bespoke check into a rule. There is no general, data-driven way in lib/standards to say "this role/attribute is valid but should return needs-review."

Per @WilcoFiers and Steven Lambert's comments: we should consider adding standards support that lets axe return needs-review for not-recommended-but-valid roles and attributes, rather than each case being handled ad hoc.

Ask

This is a design/enhancement ticket, not a spec-data change.

Related: #3341

Metadata

Metadata

Assignees

Labels

standardsIssues in the ARIA standards objects (lib/standards)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions