extra88
Joined 13 years ago
Joined 13 years ago
If a site honors the dark/light setting, I don't know what accessibility need would be served by being in the opposite mode for that one site. Having a toggle to meet preferences, yes, need, I don't know.
Rather than each site making its own design for such a control, I wish browsers would make it a per-site setting users could use.
Including a toggle in an app/site UI so users can choose to not use their device setting is an extra.
Here's an example of "show-modal". It also has an opacity transition.
https://codepen.io/ccwilcox/pen/vEKXeER/b705840fccd607237a4e...
My guess is there was a desire to make Find-in-page automatically expand <details> elements and someone realized they could make it also work for custom disclosure widgets by giving the boolean attribute `hidden` an optional value.
I also expect that of the 39.2% of the population, the cancer is diagnosed much later in life than it was for the 91 movie crew members, I doubt 41% of the crew was over 50 in 1956.