E-mail List Archives
Re: highlighting code changes on an html page
From: Mallory
Date: Dec 24, 2019 5:04AM
- Next message: Sailesh Panchang: "Re: highlighting code changes on an html page"
- Previous message: Tim Harshbarger: "Re: highlighting code changes on an html page"
- Next message in Thread: Sailesh Panchang: "Re: highlighting code changes on an html page"
- Previous message in Thread: Tim Harshbarger: "Re: highlighting code changes on an html page"
- View all messages in this Thread
Here's a note of something I've run into recently:
I use Windows High Contrast and use the main Black theme (I'm not picky so I don't make a custom one). If it occurs to you to try using the <mark> element with some roles or hidden CSS ::before text or whatever, be aware that for some reason <mark> text doesn't switch its colour like regular text does. I just ran into a site where the only way I could read text was to highlight it with ctrl-A.
It's not that <mark> offers any semantics but sometimes it feels good as a dev to use something that might be closest to meaningful and then actually make it work with AT with extra junk. But for this bug in WHC reason, I'd avoid it if it comes up in your thoughts :)
cheers,
Mallory
On Tue, Dec 24, 2019, at 11:37 AM, Tim Harshbarger wrote:
> Other things I have seen work would be including a description of the coding
> changes that will be made in the code in the paragraphs of text prior to the
> code or adding comments in the code indicating An old but still useful
> approach is to describe the changes that will be made to the code in the
> paragraphs of text prior to the code and/or include comments in the code
> that indicate where changes or additions have been made.
>
> Tim Harshbarger
> Senior Accessibility Consultant
> Deque Systems
>
>
- Next message: Sailesh Panchang: "Re: highlighting code changes on an html page"
- Previous message: Tim Harshbarger: "Re: highlighting code changes on an html page"
- Next message in Thread: Sailesh Panchang: "Re: highlighting code changes on an html page"
- Previous message in Thread: Tim Harshbarger: "Re: highlighting code changes on an html page"
- View all messages in this Thread