Create an interactive SVG image map
Instruction
- Create a SVG
- Implement SVG and apply the CSS class like the working example bellow
- Ensure the anchor
<a>
in the SVG wrap all elements (polygon, path, text) that related to it - For accessibility: Apply an
aria-label
androle="img"
on a div that wrap the SVG image. This to comply with SC 1.1.1 - For accessibility: Provide an alternate version which consist into a list of links
- For accessibility: Consider and review the SC 1.4.11 Non-Text Contrast pass
Implementation plan
- Test this component with live content
- Engage with DTO (By end of october 2022), and discuss about guidance on this component/design pattern. Like when to use it? If it match our visual web presence?
- Make any adjustment, based on DTO (TBS) discussion or/and by implementation experience
- Produce a ACR (Accessibility Conformance Report)
- Move this contribution into GCWeb as a provisional feature
Working Example - Find your service location in your region
North
Lorem ipsum
Southern Interior
Lorem ipsum
Vancouver Island and Coast
Lorem ipsum
Mainland / Southern
Lorem ipsum
Détails de la page
- Date de modification :