-
Notifications
You must be signed in to change notification settings - Fork 81
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
Browser vendor feedback #69
Comments
Not necessarily Mozilla's opinion, but my personal opinion is close to Edge's. I do think it is worth thinking more into whether this should be a CSS property, or something implemented in the UA sheet: [inert] {
pointer-events: none;
user-select: none;
user-focus: none; /* new property ? */
} On the other hand, implementing |
There is a discussion on the forum on CSS Toggle States. The idea of Toggle States (if implemented in some fashion) + inert as a CSS property is super compelling. For example, it would allow a CSS-only navigation drawer to exist and be accessible. So, I feel like the Edge team has a really good idea there that deserves some further exploration. |
Making things focusable in CSS is also discussed in WICG/spatial-navigation#25 |
@robdodson I'd be interested to hear an update on this, if one was available. |
@MelSumner I haven't personally spoken with any other browsers about focus-visible but I've been heads down working on other projects so I may be a little out of the loop. @alice do you know if there have been any conversations? |
The WebKit team at Apple supports the idea of implementing Caveat: some personal opinions I haven't discussed with the team. I don't think |
@MelSumner ah sorry, I misread and thought y'all were asking about focus-visible. I also haven't done much with inert but I know alice has been working on adding it back to the standard. whatwg/html#4288 |
@othermaciej Thanks so much for the comments! I agree with all of your personal opinions, and wanted to expand on this one:
Indeed, on my backlog of "ideas to write up as concrete proposals" is a top layer API which would explain both the "inert everything else" and the stacking behaviour of dialogs. I think those two things belong together, as the "inert everything else" behaviour is visually indicated by the combination of stacking and backdrop. It would obviously reuse the definition of "inert" used by both |
Jotting down some feedback we've received while discussing
inert
with other implementors:Mozilla
"Inert is something I think is useful but it has more of an 'implement at some point' status... once the spec has more details."
@dbolter would you be able to expand a bit on what details you think are currently missing from the spec?
Safari
Reached out but unable to get comment.
Edge
We had a lengthy discussion with Edge. My best attempt at a summary is:
inert
wouldn't be better served as a CSS property, instead of an HTML attribute. It could be similar to, or maybe even a part of,visibility
.Edge wondered if this would obviate the need for something like
<dialog>
becausevisibility
allows subtree children to "escape" and display even if their parent isvisibility: hidden
. Example:inert
as an attribute/property, or even shipping it behind a flag for experimentation, but suggested we also more thoroughly explore and explain its interaction (if any) with CSS. Some of this work has already been done in the Wouldn't this be better as...? section.cc @boggydigital, @travisleithead, @dbolter, @nt1m, @cookiecrook, @alice to make sure I captured everyone's positions accurately. BTW thank you all for taking the time to discuss this with us 😊
The text was updated successfully, but these errors were encountered: