Skip to content
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

[mediaqueries-5] Add a prefers-image-alternatives media query #10308

Open
RSeidelsohn opened this issue May 11, 2024 · 2 comments
Open

[mediaqueries-5] Add a prefers-image-alternatives media query #10308

RSeidelsohn opened this issue May 11, 2024 · 2 comments

Comments

@RSeidelsohn
Copy link

RSeidelsohn commented May 11, 2024

Some people could profit from an option that tells websites to use alternatives to sending images.

Images contribute to a significant part of web traffic. Blind users can not make use of them, so for them this bandwidth is wasted.
Other users with low bandwidth might prefer to skip images in favour of faster website loading times.

I suggest implementing a prefers-image-alternatives media query that would allow websites to provide either a textual alternative without the actual image (or video) or to skip decorative images (or videos) at all, saving bandwidth for the users that want it.

@RSeidelsohn RSeidelsohn changed the title Add a —prefers-image-alternatives rule Add a —prefers-image-alternatives rule May 11, 2024
@RSeidelsohn RSeidelsohn changed the title Add a —prefers-image-alternatives rule Add a --prefers-image-alternatives rule May 11, 2024
@ydaniv
Copy link
Contributor

ydaniv commented May 11, 2024

Where would the browser read this preference from? Most preferences are implemented and set on the OS level.
What about other visual media, like video?

@RSeidelsohn
Copy link
Author

RSeidelsohn commented May 11, 2024 via email

@RSeidelsohn RSeidelsohn changed the title Add a --prefers-image-alternatives rule Add a prefers-image-alternatives media query May 11, 2024
@RSeidelsohn RSeidelsohn changed the title Add a prefers-image-alternatives media query [mediaqueries-5] Add a prefers-image-alternatives media query May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants