[Webkit-unassigned] [Bug 232569] New: AX: meter and progress elements are ignored when -webkit-appearance: none is set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 1 09:51:26 PDT 2021


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

            Bug ID: 232569
           Summary: AX: meter and progress elements are ignored when
                    -webkit-appearance: none is set
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nathan at knowler.me
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 442984

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

This HTML document is a minimal reproduction of the issue.

Overview:

Both the meter and progress elements are ignored in the accessibility tree when `-webkit-appearance: none` is set. This CSS rule is required to provide custom styles for the element.

Steps to Reproduce:

The following has been reproduced in the attached HTML document.

1. Use a meter or progress element in a document.
2. Set `-webkit-appearance: none` on the element in order to "remove" the UA styles to provide custom ones.
3. Test the accessibility of the element.
  a. Using VoiceOver, try to select the element on the page. It’s not possible.
  b. Using the Web Inspector, in the Elements panel, select the element, and, then in Node panel of the Details sidebar, go to the Accessibility section to see that Ignored is set to "Yes" and Role is set to "No matching ARIA role."

Actual Results:

The element can be styled as expected, however, it is no longer accessible by virtue of the fact that `-webkit-appearance: none` has been set. The element seems to have lost its implicit ARIA role and therefore is ignored.

Expected Results:

Authors should be allowed to use `-webkit-appearance: none` to remove the user agent styles for the meter and progress element (as currently works in Safari) without breaking the accessibility of the elements.

Build Date & Hardware:

- macOS 11.6
- Safari Version 15.0 (16612.1.29.41.4, 16612)

-- 
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/20211101/b74065df/attachment.htm>


More information about the webkit-unassigned mailing list