WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: highlighting code changes on an html page


From: Sailesh Panchang
Date: Dec 24, 2019 7:36AM

Simply use the native INS and DEL tags like:
<p>Old price <del>$20.00</del> New price: <ins>$15.00</ins></p>
I hope these meet your needs.
Be sure to include some instruction that SR users will notice advising
them to change JAWS scheme to proffreading with attributes
(JAWS+Alt+S). NVDA reads them by default.
These are supported in FF, Chrome and IE but not Edge.
Thanks and best wishes,

On 12/23/19, Don Raikes < <EMAIL REMOVED> > wrote:
> I am working on a web tutorial that includes code snippets.
> The existing tutorial uses bold text to highlight what code has been added
> to the snippet. Since a screen reader wouldn't necessarily know that text is
> bolded, is there a "best practice" for how to indicate changed code in this
> scenario?
> --
> Thanks, Donald
> "As a leader, to be successful, is to help the people around you to be
> successful." - Kent Boucher
> Accessibility, like security, is better when built-in from the beginning
> rather than bolted on at the end.
> http://www.oracle.com/
> Donald Raikes | Accessibility Specialist
> Mobile: HYPERLINK "tel:+15202717608"+15202717608 | VOIP: HYPERLINK
> "tel:+15205744033"+15205744033
> Oracle Accessibility Program Office
> | Tucson, Arizona
> http://www.oracle.com/commitment
> Oracle is committed to developing practices and products that help protect
> the environment
> > > > >

Sailesh Panchang
Principal Accessibility Consultant
Deque Systems Inc
381 Elden Street, Suite 2000, Herndon, VA 20170
Mobile: 571-344-1765