E-mail List Archives
Re: Using Aria within a table to indicate that a cell is highlighted
From: Patrick H. Lauke
Date: Jul 5, 2022 8:59AM
- Next message: jeffgutsell@fuse.net: "Re: Using Aria within a table to indicate that a cell is highlighted"
- Previous message: Geethavani.Shamanna: "Re: Using Aria within a table to indicate that a cell is highlighted"
- Next message in Thread: jeffgutsell@fuse.net: "Re: Using Aria within a table to indicate that a cell is highlighted"
- Previous message in Thread: Geethavani.Shamanna: "Re: Using Aria within a table to indicate that a cell is highlighted"
- View all messages in this Thread
On 05/07/2022 14:50, Geethavani.Shamanna wrote:
> Using aria-label to indicate that this cell is highlighted appears to be a good option. Aria-label works as long as it is included within a span element within the <td> tag.
aria-label on a generic element without a specific role, such as <span
aria-label="..."> ... </span>, is not consistently supported by all
browser/assistive technology combinations. You really only want to use
aria-label on a "labelable" element. See
https://www.tpgi.com/short-note-on-aria-label-aria-labelledby-and-aria-describedby/
--
Patrick H. Lauke
https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: jeffgutsell@fuse.net: "Re: Using Aria within a table to indicate that a cell is highlighted"
- Previous message: Geethavani.Shamanna: "Re: Using Aria within a table to indicate that a cell is highlighted"
- Next message in Thread: jeffgutsell@fuse.net: "Re: Using Aria within a table to indicate that a cell is highlighted"
- Previous message in Thread: Geethavani.Shamanna: "Re: Using Aria within a table to indicate that a cell is highlighted"
- View all messages in this Thread