ARIA in HTML - test cases for aria-selected on option element

last updated 9 March 2021

Tests:

Test 1

Authors SHOULD NOT use the aria-selected attribute on the option element.

Expected result:
warn authors aria-selected is not to be used on native option elements

Test 2

Authors SHOULD NOT use the aria-selected attribute on the option element.

Expected result:
warn authors aria-selected is not to be used on native option elements

Test 3

Authors SHOULD NOT use the aria-selected attribute on the option element.

Expected result:
warn authors aria-selected is not to be used on native option elements