Created attachment 442984 [details]
This HTML document is a minimal reproduction of the issue.
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."
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.
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 (166188.8.131.52.4, 16612)
This is reproducible in Safari Technology Preview Release 134 (Safari 15.4, WebKit 166184.108.40.206) as well.