ARIA in HTML - test case for aria-readonly on contenteditable element

last updated 28 February 2021

Test:

Test 1

Authors MUST NOT set aria-readonly="true" on an element that has contentEditable.

The following div has an aria-readonly=true with contenteditable.

Expected result:
Error that authors must not use aria-readonly=true on an element with contenteditable.