WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 246882
247824
Web Inspector: Show Accessibility Media Feature states like Inspector does with pseudo-classes
https://bugs.webkit.org/show_bug.cgi?id=247824
Summary
Web Inspector: Show Accessibility Media Feature states like Inspector does wi...
James Craig
Reported
2022-11-11 14:02:06 PST
Web Inspector: Show Accessibility Media Feature states like Inspector does with pseudo-classes There are a number of different states related to Accessibility @media features that are usable by web developers: (prefers-reduced-motion), (prefers-reduced-transparency), (prefers-contrast: more), etc. Xcode's Accessibility Inspector let's you toggle these to preview their effects, but most web devs don't download that tool. It would be useful if the Web Inspector vended the same functionality, similar to how it does with pseudo-classes.
Attachments
screen shot of Accessibility Inspector feature
(49.31 KB, image/png)
2022-11-11 14:34 PST
,
James Craig
no flags
Details
screen shot of web inspector pseudo class toggles
(14.10 KB, image/png)
2022-11-11 14:36 PST
,
James Craig
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
James Craig
Comment 1
2022-11-11 14:34:50 PST
Created
attachment 463496
[details]
screen shot of Accessibility Inspector feature
James Craig
Comment 2
2022-11-11 14:36:23 PST
Created
attachment 463497
[details]
screen shot of web inspector pseudo class toggles
Patrick Angle
Comment 3
2022-11-14 08:13:36 PST
Razvan has been working on making these available in
https://github.com/WebKit/WebKit/pull/5650
for things that are exposed to the web platform.
Radar WebKit Bug Importer
Comment 4
2022-11-18 14:03:15 PST
<
rdar://problem/102529542
>
Razvan Caliman
Comment 5
2022-12-07 07:04:45 PST
Hi James, We implemented controls to override reduced motion and increased contrast in:
https://bugs.webkit.org/show_bug.cgi?id=246882
We opted for a dropdown UI instead of checkboxes because in Web Inspector we also need to represent the current system value that influences the inspected page before any of the overrides are applied. I'll close this bug as a duplicate, but I encourage you to file issues for individual @media features overrides you want to see supported in Web Inspector and we'll try to implement them on a case-by-case basis. *** This bug has been marked as a duplicate of
bug 246882
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug