WebAIM - Web Accessibility In Mind

E-mail List Archives

Handling del text


From: Alastair Campbell
Date: Nov 4, 2013 7:10AM


I've got that classic situation of showing the previous and current price.

Visually the first price is crossed out, and the current price is bold.

The developer did the obvious (and correct?) thing of:
<del>£50</del> <strong>£30</strong>

That's fine for most people, but it seems that generally screen readers
won't give any indicator that the second price is the most relevant.

I'm left with recommending either hidden text, or possibly using
role="presentation" on the <del>.

Is that still the current state of play? I had a look through the aria
roles list but nothing jumped out as suitable for this scenario, even if it
were reliable to use.