mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
[Editor] Set an aria-description for an added signature (bug 1956513)
NVDA behaves differently depending if the user is hovering or focusing an added signature. An aria-description is read in both cases while an aria-label is not.
This commit is contained in:
parent
2da54ffb59
commit
7d8c64b2ff
3 changed files with 24 additions and 6 deletions
|
@ -184,9 +184,9 @@ describe("Signature Editor", () => {
|
|||
`.altText.editDescription[title="Hello World"]`
|
||||
);
|
||||
|
||||
// Check the aria label.
|
||||
// Check the aria description.
|
||||
await page.waitForSelector(
|
||||
`${editorSelector}[aria-description="Hello World"]`
|
||||
`${editorSelector}[aria-description="Signature editor: \u2068Hello World\u2069"]`
|
||||
);
|
||||
|
||||
// Edit the description.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue