[Webkit-unassigned] [Bug 251003] New: Scroll-snap snaps to wrong element after VoiceOver navigation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 23 03:19:17 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251003

            Bug ID: 251003
           Summary: Scroll-snap snaps to wrong element after VoiceOver
                    navigation
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: johannes.odland at nrk.no
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 464607

  --> https://bugs.webkit.org/attachment.cgi?id=464607&action=review

A video of the bug

Found another bug that might be related to https://bugs.webkit.org/show_bug.cgi?id=250999

When using VoiceOver to navigate (swipe right gesture) a page with scroll-snap on :root, the wrong element will sometimes snap to the viewport.
I have tried to recreate a minimal example here: https://codepen.io/johannesodland/pen/QWBQQoM

(The example must be tested in debug mode / full screen. It does not work if run in an iframe. )

Expected result: 
After using VoiceOver to navigate to an element, that element should stay in the viewport.

Actual result: 
After using VoiceOver to navigate to an element, then a different element snaps to the viewport effectively pushing the element with VoiceOver focus out of the viewport.

This breaks navigation for the user. If they use touch navigation from here they will reach content on another part of the page, and not where they navigated to.



Observations: 
- It is sometimes possible to see the element with VoiceOver focus being scrolled into the viewport in one frame, before it disappears and another element is snapped into place.
- I have experienced VoiceOver navigation breaking down after seeing this bug, similar to https://bugs.webkit.org/show_bug.cgi?id=250999. 

I have marked this bug with `Severity: Major` as this affects Accessibility / VoiceOver navigation. Feel free to adjust the severity as fit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230123/62c3190a/attachment-0001.htm>


More information about the webkit-unassigned mailing list