Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox and NVDA only: Image buttons read incorrectly #2601

Closed
nvaccessAuto opened this issue Aug 17, 2012 · 2 comments
Closed

Firefox and NVDA only: Image buttons read incorrectly #2601

nvaccessAuto opened this issue Aug 17, 2012 · 2 comments

Comments

@nvaccessAuto
Copy link

nvaccessAuto commented Aug 17, 2012

Reported by HFP on 2012-08-17 15:55
It seems that NVDA favors the value of the image button over the alt text in Firefox 14 only. This is different from JAWS since it always favors the alt attribute. NVDA reads the alt attribute when using IE 8.

Below is a snippet of code showing the value and alt text of the image button:

<input name="EDIT" src="images/Edit.gif" value="0" tabindex="22" onclick="this.form.selectedContactIndex.value=this.value" class="edit-page" alt="Edit Contact Person Information" type="image"> 

For example, NVDA reads "0" for this button instead of the alt text of "Edit Contact Person Information"

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2012-08-28 05:38
Confirmed. This would need to be fixed in Firefox, as NVDA uses the name as exposed to accessibility APIs. However, using value like this is an authoring error. For image buttons, value is meant to specify alternate text as well. Nevertheless, I've covered this in MozillaBug:786163.

@dkager
Copy link
Collaborator

dkager commented Jul 15, 2017

Closing as fixed based on the status of the Mozilla bug. Please reopen if I'm too hasty (and resurrect the code sample mentioned).

@dkager dkager closed this as completed Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants