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

Button: Title attribute is not properly conveyed as an explicit label when no innerText is present #3745

Closed
nvaccessAuto opened this issue Jan 3, 2014 · 5 comments

Comments

@nvaccessAuto
Copy link

nvaccessAuto commented Jan 3, 2014

Reported by bgaraventa on 2014-01-03 00:43
When a Button element has no inner text within the opening and closing boundaries, it should be possible to set the Title attribute on the Button to set an explicit label in the same manner as a standard form field.

E.G

<button class="paginate" title="First Page">
<span aria-hidden="true">&#8656;</span>
</button>

When viewed in Firefox, the Button is simply announced as "button" when arrowing down the page in the Virtual Buffer, which is non-intuitive.

Steps to reproduce:

  1. Run the above code in an HTML file.
  2. Open the page and press Down to arrow down the page using Browse Mode.
@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2014-01-07 00:05
Usually, whether the title attribute is exposed as the label is determined by the browser. Firefox doesn't really consider aria-hidden, so it determines that there is content and uses that instead of the title. This would need to be changed in Firefox. If you're not comfortable filing a Mozilla bug, I can do it.

@ehollig
Copy link
Collaborator

ehollig commented Aug 13, 2017

This is still the case with Firefox 54. CC @jcsteh

@jcsteh
Copy link
Contributor

jcsteh commented Jul 4, 2018

This should be covered by Mozilla bug 1123248.

@Adriani90
Copy link
Collaborator

@jcsteh testing on Firefox 64.0, this issue is fixed. Also Mozilla bug 1123248 seems to be solved.

@jcsteh
Copy link
Contributor

jcsteh commented Dec 17, 2018

Correct; this is fixed.

@jcsteh jcsteh closed this as completed Dec 17, 2018
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

4 participants