Add screenreader-only strikethrough support

Created on 7 August 2023, over 1 year ago

Problem/Motivation

NVDA reads the tags <del> and <s> and VoiceOver also does -- when user settings are set for this, but JAWS, the most used screen reader does not. The text within these tags is read as plain text without any indication of deletion or strikethrough.

One workaround is to put screen reader only text before and after the target word in order to indicate to a screen reader user (in this case Jaws user) the intended markup.

<p>Text being edited <span class="sr-only">start delete</span><del>adding</del><span class="sr-only">end delete</span></p>
<p>Text being edited <span class="sr-only">start strikethrough</span><s>adding</s><span class="sr-only">end strikethrough</span></p>

Would you be open to including a filter that adds these screenreader-only tags as part of the Accessibility Filter module?

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jenlampton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024