WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Best practices showing revisions (strikethroughs, etc.)

for

From: Scott González
Date: Jan 9, 2014 8:22AM


On Thu, Jan 9, 2014 at 10:09 AM, Wyant, Jay (MNIT) < <EMAIL REMOVED> >wrote:

> To make sure I am clear:
>
> - Both <del> or <s> are acceptable tags for strikethrough- the key is to
> alert the screenreader user to set to a proofreading scheme (in JAWS by
> pressing alt-insert-s). Otherwise the screen reader will simply ignore all
> text within those tags.
>

<del> is the semantically correct element; use it over <s>.


> - Would an alternative, such as this strikethrough code I found on Karl
> Groves' site work for all environments?: <span style="text-decoration:
> line-through;">
>

This is worse than <del> or <s> as it holds no semantic meaning.