Thibaud Colas

Results 690 comments of Thibaud Colas

I’m interested in this as well, and emulation of `prefers-contrast` too, so had a look at what’s needed to make this work. - Here’s the code that needs updating: https://github.com/puppeteer/puppeteer/blob/e6442dd767ed5958d84eea907ee8075cb3534599/src/common/Page.ts#L2370-L2388...

@mattxwang yup. See also [stylelint-a11y’s rule](https://github.com/YozhikM/stylelint-a11y/tree/master/src/rules/media-prefers-reduced-motion). Another common way to implement `prefers-reduced-motion` is to remove all animations everywhere at once: ```css @media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation-delay:...

I would like to implement this, as I’m considering developing a plugin where each rule would simply be using stylelint’s `checkAgainstRule` with custom error messages. Having built-in support for custom...

To give a bit more context about my work-in-progress – it’s an attempt at replacing `stylelint-a11y` since it has become [unmaintained](https://github.com/YozhikM/stylelint-a11y/pull/66). I’m focusing on replacing the parts of that plugin...

Those are indeed extreme! I’d expect discussion and research about those rules to be commensurate with how drastic the rules are. @mattxwang I @-mentioned him on the relevant threads on...

@mattxwang 🤘on the three points you want to see: > using the logic for another rule, i.e. calling into it That’s already supported! With the [`stylelint.utils.checkAgainstRule`](https://stylelint.io/developer-guide/plugins/#stylelintutilscheckagainstrule) API. > changing or...

First pass – right now this is just a copy of the 2021 queries. I need to do the same for 3 CSS queries, then update everything to use 2022...

Progress update: This now has all of the queries I’m expecting to be needed for the 2022 chapter. I’ve compared the results’ shape and data with 2021’s to validate the...

@HTTPArchive/analysts I believe this is now ready for review. I’ve added details of my approach in the PR description, and rebased as two commits so this is a bit easier...

Excellent point @tunetheweb! Will get on with it.