Commit 0e1621f
committed
js: Use the
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-674aria-pressed attribute on fullscreen1 parent 6ccaee3 commit 0e1621f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
1320 | | - | |
| 1320 | + | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
| 1479 | + | |
1479 | 1480 | | |
1480 | 1481 | | |
1481 | 1482 | | |
| |||
1539 | 1540 | | |
1540 | 1541 | | |
1541 | 1542 | | |
| 1543 | + | |
1542 | 1544 | | |
1543 | 1545 | | |
1544 | 1546 | | |
| |||
0 commit comments