w3c / w3c/csswg-drafts

[mediaqueries-5] Media query for enclosed screens

Open
#9,701 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

mediaqueries-5
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

One key question about devices with virtual headset displays is, in what ways would an author need to adapt their website to accommodate, and do we have media queries for that?

We have hover, pointer, and environment-blending, which address many of the adjustments that might be necessary...

But another one of the functional differences between physical displays and virtual displays is that they're only visible to the user's eyes: nobody else can look over, and also neither can they e.g. take a photo of the screen or read a QR code displayed on the screen with some other device, which is something an app might need to query for.

Question to the CSSWG is: should we add a media query for this device limitation, and if so, what should it be called?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue's discussion of the existing hover, pointer, and environment-blending media queries. Determine whether enclosed screens require a new query and what its name and semantics should be; done means the CSS Working Group has reached a direction on the proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.