You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WCAG 2.1 SC2.5.5 Target Size requires targets for pointer input to be at least 44 by 44 in CSS pixels. Meeting this requirement has multiple benefits, it'd be great to pass this criteria for the commonly used controls:
Malvoz
changed the title
[accessibility] Accessible target size for commonly used controls
[accessibility] Accessible target size for controls
Sep 18, 2021
My personal opinion is that controls closer to 44x44 is a lot more user friendly on mobile. We use those dimensions for controls in the <mapml-viewer>, once you've become accustomed to it, anything less feels tiny. 😋
The WCAG 2.1 SC 2.5.5 Target Size requires targets for pointer input to be at least 44 by 44 in CSS pixels. Meeting this requirement has multiple benefits, it'd be great to pass this criteria for the commonly used controls:
mapboxgl-ctrl-attrib-button
)mapboxgl-popup-close-button
)mapboxgl-ctrl-fullscreen
)mapboxgl-ctrl-geolocate
)mapboxgl-marker
)mapboxgl-ctrl-zoom-in
)mapboxgl-ctrl-zoom-out
)mapboxgl-ctrl-compass
)It may not be desirable to increase the size of the icons themselves, in which case
padding
can be used to increase the size of the tap targets.The text was updated successfully, but these errors were encountered: