-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html.elements.hr - Its standardized use in <select>
is not widely supported
#21648
Comments
<select>
is not widely supported<select>
is not widely supported
I also filed an MDN content issue about updating the Technical Summary section: hr missing new Permitted parent #31085 |
Thanks for your detailed research! Looks like
As far as versions go, I think we have this:
Seems like we will need partial support and notes for the issues you mention at least for Safari 17+ and Chrome 119+. For Firefox, I guess we need to check if the issues are still present in 122+. Using https://adrianroselli.com/demos/splitting-within-selects/index.html in Firefox 122 Nightly, I can see
I think I don't see:
I'm not quite sure how to test (can you help?):
|
I opened #21652 to record I didn't mention the issues with NVDA, JAWS, VoiceOver, Talkback. Unfortunately, BCD currently doesn't record compat data combination with AT software. I've looked at a11ysupport.io and they have a better data structure (AT software version + browser version + OS version): "versions": {
"jaws": {
"browsers": {
"chrome": {
"at_version": "2021.2107.12",
"browser_version": "92",
"os_version": "Windows 10 version 21h1",
},
"edge": { },
"ie": {},
"nvda": {
"browsers": {
"chrome": { }
}
}
} BCD's structure is a lot simpler and we only record browser compat data :(. If support is limited to particular operating system, we use Maybe it would be good to bring the research you have done to a11ysupport.io so that the AT support data could be recorded there? |
Ah, already merged without you taking a look, @aardrian ... |
It was implemented in Safari 2.02 (2005), before it existed in the spec, and required JS to work. Regarding Firefox 122:
The accessibility tree is an abstraction, so while it is not there it seems either position information is being transmitted or NVDA is using heuristics (too time constrained to look in NVDA or Firefox code today).
Not announced, but treated similarly to a grouping container by resetting count of items after each
Screen shot and eyedropper. Has a 1.7:1 contrast ratio.
At a glance it looks good.
I am aware, but sometimes (usually) how something is exposed in AT is a function of browser issues. |
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
The
<hr>
element, when used in a<select>
, is not exposed visually and/or programmatically in all cases. The entry lists<hr>
as having full support in all browsers. However, when used in<select>
that is not the case.What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Firefox, Safari
What did you expect to see?
Partial support in all browsers.
Did you test this? If so, how?
Yes, with this test case:
https://adrianroselli.com/demos/splitting-within-selects/index.html
Test results:
Firefox 118 / Windows 11:
<hr>
visually in the page;<hr>
programmatically in the rendered DOM;<hr>
within the accessibility tree;<hr>
when using NVDA;Firefox 115 / Ubuntu 22.04.2 LTS:
<hr>
visually in the page;<hr>
programmatically in the rendered DOM;<hr>
within the accessibility tree;<hr>
when using NVDA;Chrome Canary (120) / Windows 11:
<hr>
visually in the page only when the menu is expanded (arrowing within the collapsed menu does not show them);<hr>
programmatically in the rendered DOM;<hr>
within the accessibility tree;<hr>
when using JAWS;Safari 17 / macOS 14.0:
<hr>
visually in the page (arrowing within the collapsed menu expands it);<hr>
programmatically in the rendered DOM;<hr>
within the accessibility tree;<hr>
when using VoiceOver;Firefox 118 / Android 13:
<hr>
visually in the page;<hr>
when using TalkBack;Chrome Canary (120) / Android 13:
<hr>
as its own empty selectable option;<hr>
when using TalkBack, but is a swipe-stop;Safari 17 / iPadOS 17.0.3:
<hr>
visually in the page;<hr>
when using VoiceOver, because it is not in the page;Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
<hr>
to be used inside<select>
as a separatorDo you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
MDN metadata
MDN page report details
html.elements.hr
The text was updated successfully, but these errors were encountered: