739b849487e7f50741e12a5b3c8aa7184e94ccce
It was possible for <input> and <textarea> to incorrectly report the IsReadOnly property as "true" to UIA, particularly when empty. There is no text leaf in empty text inputs, so our TextLeafPoint would point to the text field itself. Code that retrieves attributes for UIA didn't handle this case, which caused AT issues, such as Narrator failing to switch out of scan mode automatically. This revision fixes the issue by properly checking for text fields when figuring out whether a TextLeafPoint's Accessible is read-only. It also adds a test to verify the same. Differential Revision: https://phabricator.services.mozilla.com/D237644
…
…
…
…
…
…
…
…
…
…
…
An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:
https://firefox-source-docs.mozilla.org/contributing/directory_structure.html
For information on how to build Firefox from the source code and create the patch see:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.
Nightly development builds can be downloaded from:
https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
- or -
https://www.mozilla.org/firefox/channel/desktop/#nightly
Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.
Description
Languages
JavaScript
32.6%
C++
25.1%
HTML
20.9%
C
10.6%
Python
2.8%
Other
7.6%