E-mail List Archives
Re: Image Hotspot
From: glen walker
Date: Apr 26, 2021 5:56PM
- Next message: Laurence Lewis: ""
- Previous message: Tom Livingston: "Re: Wrap part of a word in "
- Next message in Thread: None
- Previous message in Thread: Radhika Takyar: "Image Hotspot"
- View all messages in this Thread
By "image hotspot" do you mean the <map> and <area> elements? Follow best
practices as you would for any image and link - specify alt text for the
image itself and for each <area> element. <area> elements are keyboard
focusable so you might want to play with the focus indicator too. Firefox
and Chrome show a dotted border when focused so that's not too bad, but you
might want a custom one. When I tried area:focus {outline:red 9px solid}
in CSS, Firefox ignored it. Chrome honored the color part but not the
thickness.
- Next message: Laurence Lewis: ""
- Previous message: Tom Livingston: "Re: Wrap part of a word in "
- Next message in Thread: None
- Previous message in Thread: Radhika Takyar: "Image Hotspot"
- View all messages in this Thread