mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
[Editor] Improve the accessibility of the highlight editor (bug 1881743)
This commit is contained in:
parent
b14f696071
commit
f676c2c0c8
6 changed files with 29 additions and 0 deletions
|
@ -48,6 +48,19 @@
|
|||
pointer;
|
||||
}
|
||||
|
||||
/* The following class is used to hide an element but keep it available to
|
||||
* for screen readers. */
|
||||
.visuallyHidden {
|
||||
position: absolute;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.textLayer.highlighting {
|
||||
cursor: var(--editorFreeHighlight-editing-cursor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue