- From: Jonathan Avila <jon.avila@levelaccess.com>
- Date: Tue, 27 Sep 2022 12:48:44 +0000
- To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
There are some ACT rules around this that seem to indicate use of !important in CSS is a failure. https://www.w3.org/WAI/standards-guidelines/act/rules/24afc2/ Jonathan -----Original Message----- From: Patrick H. Lauke <redux@splintered.co.uk> Sent: Tuesday, September 27, 2022 6:20 AM To: w3c-wai-ig@w3.org Subject: Re: 1.4.12 text spacing CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On 27/09/2022 11:05, Ms J wrote: > Hi > > I just wanted to check, if the author is using !important in the CSS > so blocking certain tooling from easily modifying the page, does this > fail at all? For example, the tool I use doesn't work to change the > word spacing, line height and letter spacing, but if I remove '!important' > from the CSS it works. Is this just a limitation of my tooling? If am > able to go in and manually override the CSS. > > Do we go on the basis that users will have tools which will always > enable them to override the styles and then test on this basis? My take here is no, this wouldn't fail, and it's a shortcoming of the tooling used (I'd assume that if the tool injected its own `!important`, it would then override the author styles' `!important`). In my mind at least, this is more about "is it theoretically possible to override this", and doesn't hinge on the specific tools that users use (otherwise this would be a moving target of an SC). P -- Patrick H. Lauke https://www.splintered.co.uk/ | https://github.com/patrickhlauke https://flickr.com/photos/redux/ | https://www.deviantart.com/redux twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Tuesday, 27 September 2022 12:49:03 UTC