Accessibility regression with masonry layout changes #50476
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Bug
An existing feature does not function as intended
Originally posted by @KevinBatdorf in #49958 (comment)
Reflowing the content using the css masonry column rules introduces new behavior for keyboard users that tab through the document.
In this screencast I am pressing tab to move into the content area, then I press the right arrow key.
Screen.Recording.2023-05-08.at.1.44.52.PM.mov
Since the order of the document no longer represents the visual order of the content, the arrow key right-left movement now moves up-down. As you can see in the video, the jumping from the bottom to the top could also be visually confusing to the user as well, especially if there are very many patterns.
There likely isn't a good solution for this unless the mechanism to move left/right gets an upgrade to detect what's visually nearby (I suppose by checking the bounding box), or the masonry functionality is implemented with a JS solution that maintains a document order that follows the visual representation.
The text was updated successfully, but these errors were encountered: