wasm: make the "a11y enable" button cover window
Adjust the button geometry to match window geometry. Screen readers may visualize the geometry, and this makes it clearer that the button is relevant. Setting the clip looks to be sufficient to keep the button visually hidden, even if the canvas (which would normally be ordered in front) is missing. Pick-to: 6.8 Change-Id: Iff268cd2d8f52eead9be88e8cb460b0b445781a9 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
parent
c0914c11a8
commit
e6c77a0b7e
@ -224,8 +224,8 @@ const char *Style = R"css(
|
||||
visibility: visible;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user