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

Comments

@nvaccessAuto
Copy link

@nvaccessAuto 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

This comment has been minimized.

Copy link
Author

@nvaccessAuto nvaccessAuto commented Aug 28, 2012

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

This comment has been minimized.

Copy link
Collaborator

@dkager 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 Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.