Skip to content

Conversation

@awilfox
Copy link
Member

@awilfox awilfox commented Jan 16, 2026

This adds the aria-pressed attribute for the fullscreen button. The value toggles in the enterFullScreen/exitFullScreen methods.

Notably, the value is always false in Safari / iOS WebKit. This is because the WebKit's native fullscreen view disable access to the DOM and all elements. There is no way to interact or manipulate them from the fullscreen view. This should be fine, because that means any time the user can interact with them, the pressed value should be false.

Closes: ADA-674

This adds the `aria-pressed` attribute for the fullscreen button.  The
value toggles in the enterFullScreen/exitFullScreen methods.

Notably, the value is always `false` in Safari / iOS WebKit.  This is
because the WebKit's native fullscreen view disable access to the DOM
and all elements.  There is no way to interact or manipulate them from
the fullscreen view.  This should be fine, because that means any time
the user can interact with them, the pressed value should be false.

Closes: ADA-674
@awilfox awilfox self-assigned this Jan 16, 2026
Copy link
Member

@anarchivist anarchivist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+. thanks!

@awilfox awilfox merged commit 0e1621f into main Jan 16, 2026
5 checks passed
@awilfox awilfox deleted the awilfox/ADA-674 branch January 16, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants