WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: highlighting code changes on an html page

for

From: Murphy, Sean
Date: Jan 5, 2020 8:44PM


This is not reliable for the web which this discussion is about.

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Jeffrey (JDS)
Sent: Monday, 6 January 2020 2:30 PM
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: Re: [WebAIM] highlighting code changes on an html page

[External Email] This email was sent from outside the organisation – be cautious, particularly with links and attachments.

If you use something that can be found this would help.
e.g. at work sometimes in emails or documents we use # or * to indicate the start and end of something.
You might put the code snippet inside a read only editbox? I've never tried it but seen it done.

Screen readers can detect color if the user chooses to turn it on. For example JAWS has settings for this. However; it's VERY annoying as a setting. The more verbiage and chatter from the screen reader the less useful it often is.

e.g. you could turn on it announcing all font, size, color, alignment, tabstop change etc... but this greatly reduces the experience for someone.



-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Murphy, Sean
Sent: January 5, 2020 6:10 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] highlighting code changes on an html page

I think a bug should be lodged with screen reader companies to support attributes and colours, and improve this area over all. As this type of concept can be used with other professions and texts.


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Don Raikes
Sent: Tuesday, 24 December 2019 8:36 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] highlighting code changes on an html page

[External Email] This email was sent from outside the organisation – be cautious, particularly with links and attachments.

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