Skip to content

ElementInternals: update implicitRole to use getElementInternals #5039

Description

@straker

Update the implicitRole function to use the getElementInternals function to get the internal role of the element, adding new tests to ensure it's working. The tests would also need to be updated in rules that look for required children/parent roles or allowed/required attributes for roles (e.g. aria-required-parent, aria-required, aria-allowed-attr and aria-required-attr) to add ElementInternal tests (similar to our virtual node tests)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions