-
Notifications
You must be signed in to change notification settings - Fork 2k
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
css.properties.display - Safari (thru 16) flex, grid, contents problems #17776
Comments
Opened a fresh issue to address HTML tables and how they break when CSS display properties are used in Safari: Safari Table Support - CSS Display Properties Break Tables. #19994 |
Bumping this again since Safari Technology Preview for 17 might address some of these issues and it would be nice to get a stake in the ground for current support as a future reference. |
I tested the buttons page on Safari 17.0 on MacOS 12.7 and can confirm that buttons with |
@aardrian feel free to send a PR with the note you think would be appropriate. It would be added here: browser-compat-data/css/properties/display.json Lines 63 to 65 in 61d1d52
And this is an example to follow: browser-compat-data/html/elements/img.json Lines 126 to 136 in 61d1d52
|
I filed this over a year ago and, frankly, took a lot of unpaid time already to research it, file it, and have it sit even after I advocated for it. I don't get compensated for this and already spend a lot of time just trying to get massive companies with paid employees to listen to demonstrable barriers in their software (only to then have them come in and undo my changes). If I sound frustrated, it's because I am. So please file a PR on my behalf and consider adding all the notes I listed when I opened the issue. You can find more detail in the linked blog post. |
What type of issue is this?
Browser bug (a bug with a feature that may impact site compatibility)
What information was incorrect, unhelpful, or incomplete?
Safari on macOS lists full support for
contents
,flex
, andgrid
, but that is not accurate.When tables have
display
properties ofcontents
,flex
, orgrid
applied:Ctrl
+Option
+⌘
+←
↑
→
↓
).When a
<button>
hasdisplay: contents
applied:Ctrl
+Option
+⌘
+J
);Ctrl
+Option
+⌘
+J
) but its accessible name is not announced;What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
display: contents
,display: flex
, ordisplay: grid
.display: contents
,display: flex
, ordisplay: grid
.<button>
with my keyboard regardless of whether it hasdisplay: contents
.<button>
's accessible name regardless of whether it hasdisplay: contents
.Did you test this? If so, how?
Yes, as documented here:
https://adrianroselli.com/2022/07/its-mid-2022-and-browsers-mostly-safari-still-break-accessibility-via-display-properties.html#D-Safari
Test cases:
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
I understand the button issue is tracked internally. Headings issues were fixed in the same round as one button fix (https://twitter.com/tylerwilcock/status/1555683694672678912), but I suspect there are more internal issues.
Do you have anything more you want to share?
I am editing this here because it looks like Can I Use uses this data.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/display
MDN metadata
MDN page report details
css.properties.display
The text was updated successfully, but these errors were encountered: