Description
It's a common practice to visually hide checkbox/radio buttons and use pseudo elements to provide custom-styled alternatives (for example, see https://www.w3schools.com/howto/howto_css_custom_checkbox.asp)
I'm curious what the WG thinks of this practice and whether or not it should be considered a failure of F87.
On the one hand, it does seem to go against the spirit of F87, as the technique involves using pseudo elements to communicate essential information (i.e., the presence and state of a checkbox or radio button). If a user has a custom stylesheet, this information could be lost.
On the other hand, if a user is indeed using a custom stylesheet with pseudo elements for checkboxes/radio buttons, then it may not actually matter that the author-supplied styling is lost—it would simply be replaced by the user styling.
The current wording of the test scenario is somewhat vague:
Check that non-decorative information presented by the generated content is available when styles are overridden.
This could be interpreted in a way that passes—if the user has custom styles defined for checkboxes/radio buttons and their states which simply override the author-supplied styles, then no information would be lost to the user. It could also be possible for the two sets of styling to conflict in a way that makes it incomprehensible. It really depends on what styles each is introducing and how they interact with one another.