In my webpage, I have half of it being a map display using Google maps. What aria-role
should I add to that canvas
element which is displaying the
If you are using google maps, you should use role="application"
because it is possible to use a screen reader to interact with the map and according to the ARIA spec site the application role is for:
A structure containing one or more focusable elements requiring user input, such as keyboard or gesture events, that do not follow a standard interaction pattern supported by a widget role.
This is especially true for users who are not blind but have low vision and can actually benefit from the map.
https://www.w3.org/TR/wai-aria/#application