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-ui] Consider removing slider-horizontal from <compat-auto> #8506
Comments
Same for |
While implemented across browsers, I also wonder whether I'm not sure how to interpret the drastic drop in usage. Though currently only 0.000309% of pages seem to use it. Sebastian |
For what it's worth, the values mentioned by @emilio have also very low usage numbers.
Sebastian |
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1695565 gecko-commit: fa7252da2862b60cd3a466290e532732fc7bf9cf gecko-reviewers: boris
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1695565 gecko-commit: 2f565aff38fd5331500738f2798bbeab75565241 gecko-reviewers: boris
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1695565 gecko-commit: e3553560e147b892fedd78a1e722a84f17f08b65 gecko-reviewers: boris
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
Removing them from Chromium sounds good to me, given those use counters. @mfreed7 and team are going to look into it. |
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1695565 gecko-commit: e3553560e147b892fedd78a1e722a84f17f08b65 gecko-reviewers: boris
The reason
However, the impact of dropping them is likely minimal since they only have an effect on elements that are buttons, and also aren't styled in a way that makes
For |
Looks like |
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1695565 gecko-commit: e3553560e147b892fedd78a1e722a84f17f08b65 gecko-reviewers: boris
The CSS Working Group just discussed
The full IRC log of that discussion<emeyer> emilio: Firefox never supported this<emeyer> …Recently, I found three keywords where there are problems in WPT <emeyer> …Usage is pretty low <emeyer> …We also have no compat issues about this <masonf> q? <masonf> q+ <astearns> ack masonf <emeyer> masonf: We don’t object to this <emeyer> astearns: What are we resolving? <emeyer> emilio: Drop slider-horizontal, square-button, and push-button <PaulG> q+ <astearns> ack PaulG <emeyer> PaulG: slider-vertical has native semantics around orientation <emeyer> …If there is usage, we should communicate that ARIA values need to be used <masonf> q? <emeyer> emilio: Right now, the spec says it does nothing special <emeyer> dbaron: I don’t think there a history of appearance changing accessibility rules, is there? <emeyer> PaulG: In Chromium, (scribe got lost) <emeyer> dbaron: I don’t think the CSS `appearance` property affect accessibility <emeyer> PaulG: I’m looking at the demo in the issue, in Chromium, the vertical slider renders with orientation: vertical that nothing else set <emeyer> dbaron: That’s surprising to me <dbaron> masonf: me too (but confirm it) <bkardell_> Is it bad? Seems good? <emeyer> PaulG: Concern is if it’s dropped, anyone depending on that orientation needs to know they need to replace that with ARIA <dbaron> s/rules/roles/ <emeyer> astearns: Given that usage is very low, is this a big concern? <emeyer> PaulG: This is in no way a reason to stop, but this is a concern APA will probably voice <masonf> q? <emeyer> …I’m guessing where this is used, understanding of accessibility is low <emeyer> …I’ll help smooth that over with APA, I’d just like numbers <emeyer> masonf: We’re speaking just about slider-horizontal, yes? Not slider-vertical <emeyer> …Is it an accessibility problem for horizontal? <emeyer> PaulG: No, only concerned with vertical and that semantic meanings are conveyed in other ways <emeyer> masonf: We should open an issue about vertical <emeyer> …I think we’re okay horizontal, but need to discuss more about vertical <emeyer> astearns: So proposed resolution is to remove slider-horizontal, square-button, and push-button <emeyer> PaulG: I might need to check push-button <emeyer> …Does ARIA pressed get added? <emeyer> astearns: What if we resolve to do the removal, then Paul, can you open an issue on slider-vertical and push-button on possible ARIA concerns? <emeyer> PaulG: Yes <dbaron> https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/accessibility/ax_slider.cc;l=47-83;drc=5a252fef36aced8857912a7eba43dad5590cb54d <emeyer> RESOLVED: remove slider-horizontal, square-button, and push-button from <compat-auto>; PaulG will open an issue about ARIA roles and concerns about slider-vertical and push-button |
@frivoal is this something you'll do the spec edits for? I'm asking for web-platform-tests/interop#295, but perhaps we can update the tests separately from the spec change? |
Sorry for being slow catching up here. The PR from @zcorpan looks great, so I went ahead and merged it. |
Thanks @frivoal! Tests for this are at web-platform-tests/wpt#40233 |
More appearance keywords have become non-standard and should be removed from the supported list [1]. First CL can be found at [2]. [1] w3c/csswg-drafts#8506 (comment) [2] https://chromium-review.googlesource.com/c/chromium/src/+/4437611 Change-Id: Iad058cf01df2d8af25afc11b5d3fb014590d030d Bug: 1434765 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4638559 Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Di Zhang <dizhangg@chromium.org> Cr-Commit-Position: refs/heads/main@{#1162493}
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see w3c/csswg-drafts#8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
Firefox doesn't support it and we've never seen a compat issue due to this. I noticed this while looking at Firefox-specific test failures for appearance.
cc @frivoal, do you have the context of why was it needed?
The text was updated successfully, but these errors were encountered: