-
Notifications
You must be signed in to change notification settings - Fork 266
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
Minimum Target Size, custom elements and user agent exception #3998
Comments
|
But I think @gundulaniemann makes a very good point, @yatil. per the quoted text ("User agent control: The size of the target is determined by the user agent and is not modified by the author;"), I don't think it's clear at all that changing any style would undo the exception if the original sizing wasn't changed. The text is written differently than other instances where the exception is more overtly nullified if any styling changes are made. for example, the following two SCs are much clearer that the original UA appearance/visual presentation has an exception, but if the appearance is changed, then it becomes an author responsibility. 1.4.11's language for user interface components states:
1.4.13 has this exception:
2.5.5 and 2.5.7's exceptions are the same, and "size" is specifically called out, not any and all visual appearance as other SCs mention. Whether one agrees with whether that should be the case or not, the fact the text is different and is scoped specifically to "size", I don't think there's a strong case anyone could make based on the normative text that any style change beyond those that would impact the size would undo the exception. |
agree with @scottaohara and @gundulaniemann here too, the language seems more specifically about size not being modified |
@patrickhlauke @scottaohara @gundulaniemann My bad, you’re right. That said, I think the wording in the SC is sufficient to convey this. |
Glad that you agree. |
In the user agent exception example it should be made clear that it always applies as long as the size still is default.
The exception in the normative text says:
"User agent control: The size of the target is determined by the user agent and is not modified by the author;"
So it talks about not manipulating the size. It does not talk about any other attribute a control might have, like color.
Yet the example still might be misunderstood as "if any attribute is altered, the exception does not apply".
Therefore is should say:
"User agent control: Browsers have default renderings of some controls, such as the days of the month calendar in an . As long as the author has not modified the user agent default size, the target size for a User agent control is excepted."
(The word 'size' was added after 'user agent default'.)
Some background for scrollbars:
The default size for scrollbars usually is 'auto'. This way any setting a browser or an extension might offer can be applied. This remains unchanged if for example the colors of the scrollbars have been changed by the author.
Only the size needs to remain untouched.
The text was updated successfully, but these errors were encountered: