Skip to content

Add IDL reflection tests for enumerated ARIA attributes #177

@rahimabdi

Description

@rahimabdi

Per: w3c/aria#2413.

ARIA will migrate a large set of attributes to be enumerated, so tests should be written for all the updated ARIA content attributes. This should be easily testable with an assert...() and ensuring that the tested ARIA IDL attribute reflects the content attribute, e.g.,:

assert_equals(el.ariaAttribute, el.getAttribute(ariaAttribute));

In addition to the missing value default and invalid value defaults, all keywords/states (including the canonical keyword) should be tested.

Misc considerations:

Examples of existing WPT IDL tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions