Skip to content

Rule idea: role is permitted for element #2042

Open
@WilcoFiers

Description

@WilcoFiers

The gist of it is to test that the explicit role is allowed on the element. This would test requirements outlined in HTML in ARIA

https://www.w3.org/TR/html-aria/#docconformance

Example: <button role="heading"> would not be allowed because the button element is only allowed to have certain roles.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions