[Webkit-unassigned] [Bug 244984] New: AX: Text fields within summary element can cause unexpected open/close behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 9 09:15:28 PDT 2022


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

            Bug ID: 244984
           Summary: AX: Text fields within summary element can cause
                    unexpected open/close behavior
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: scottaohara at yahoo.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Steps to reproduce the problem:
1. Go to https://codepen.io/scottohara/pen/yLjOXdp
2. Move keyboard focus to the nested input element within the summary
3. Use the space key to add spaces to the text input field. Observe that this causes the details element to show/hide its content each time the space key is pressed.

Problem Description:
Including nested interactive elements within a summary can be problematic depending on the screen reader / browser combination.  But, with chromium/webkit browsers in particular an extra unintended behavior occurs if a text field (input type=text or textarea) is a descendant of the summary element. If keyboard focus is moved to this nested text field and the space key is pressed, it will cause the state of the details element to toggle between open|closed.

The codepen provided in the repro steps demonstrates this behavior.

This behavior does not occur in Firefox. It does presently occur in Chrome. Chrome issue - https://bugs.chromium.org/p/chromium/issues/detail?id=1361983

-- 
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/20220909/4ed24856/attachment-0001.htm>


More information about the webkit-unassigned mailing list