ARIA in HTML - test cases for role casing

last updated 27 June 2021

Authors SHOULD use lowercase ASCII letters when specifying role values.

Test:

Test 1

uppercase BUTTON
<div role=BUTTON>uppercase BUTTON</div>
mixed case BuTtOn
<div role=BuTtOn>mixed case BuTtOn</div>

Expected result:
Flag error or warning to authors to use lowercase ASCII letters when specifying a role.