Add support for aria-placholder.
Example test cases
(inspired by / taken from aria spec), paste the following into a browser address bar:
data:text/html,<html> <head> <title>Test aria-placeholder</title> </head> <body> <span id="label1">Birthday text entry with text already entered:</span> <div contenteditable role="searchbox" aria-labelledby="label1" aria-placeholder="MM-DD-YYYY">03-14-1879</div> <span id="label2">Birthday text entry with text matching the placeholder:</span> <div contenteditable role="searchbox" aria-labelledby="label2" aria-placeholder="MM-DD-YYYY">MM-DD-YYYY</div> <span id="label3">Birthday text entry with no text entered:</span> <div contenteditable role="searchbox" aria-labelledby="label3" aria-placeholder="MM-DD-YYYY"></div> <span id="label4">Ensure that semi-colons and backslashes in the placeholder attribute are handled</span> <div contenteditable role="searchbox" aria-labelledby="label4" aria-placeholder="some;semi-colon;here\and here \;also"></div> </body> </html>
Expected UX:
Only in focus mode, since placeholder only needs to be reported when users will be entering form data.
Should be reported when using quicknav like 'e' + 'shift+e'
The spec indicates that the "author" should present the placeholder hint when the value for the field is empty, and not when it has been filled. Is this something that NVDA should enforce?
Add support for aria-placholder.
Example test cases
(inspired by / taken from aria spec), paste the following into a browser address bar:
Expected UX:
Only in focus mode, since placeholder only needs to be reported when users will be entering form data.
Should be reported when using quicknav like 'e' + 'shift+e'
The spec indicates that the "author" should present the placeholder hint when the value for the field is empty, and not when it has been filled. Is this something that NVDA should enforce?