ARIA in HTML - test cases for slot

last updated 28 February 2021

Tests:

Test 1

Authors cannot use role or aria-* attributes on the slot element.

a template follows with slot elements which have ARIA role and aria-label attributes set.

Expected result:
Error that role and any other aria-* attribute is invalid on slot