List block and screen readers: greatly inconsistent behavior #5983
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Milestone
Seems
contenteditable
on a list element doesn't make screen readers so happy.I've prepared a quick codepen, and I'd greatly appreciate some help and testing: https://codepen.io/afercia/full/aYamBy/
VoiceOver: announces the list but doesn't announce the list items content. It just reads out "group with 2 items editable":
NVDA: doesn't read the list item content in forms mode.
Contrary to what I thought, see #4074, seems the only way to address this issue is to reset the list semantics and use a
role="textbox"
for the list. In #4074 we've explicitly excluded lists and tables to get arole="textbox"
.Instead, using a
role="textbox"
should, more or less, provide the same experience users get with the classic editor. More testing and research is definitely necessary.The text was updated successfully, but these errors were encountered: