Closed Bug 890697 Opened 11 years ago Closed 11 years ago

[Accessibility] Unlabeled button on the web apps screen

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 25

People

(Reporter: MarcoZ, Assigned: maxli)

Details

(Keywords: access)

Attachments

(1 file)

STR:
1. With TalkBack enabled, go to Menu -> Tools -> Apps.
2. Regardless of whether you have apps installed or not, start swiping to the right through the controls.

Result: There is an unlabeled button at the top of the page. This button is present either with or without apps installed. TalkBack will just say "button", but not what the button actually does. Probably an image button without alternative text (since this seems to be HTML, not native Android).
I tried this out, it's highlighting the Marketplace shortcut icon on the top right. The markup for it is:

<div id="header-button" role="button" pref="app.marketplaceURL" onclick="openLink(this);"/>
Thanks Aaron! Then, the only thing this needs is an additional attribute: aria-label with a value of a localizable string saying something lik "Create Mozilla Market Place shortcut on your home screen" or something similarly sensible. ;) Localizable, because this is what gets spoken when present.
Attached patch PatchSplinter Review
Assignee: nobody → maxli
Attachment #772041 - Flags: review?(mark.finkle)
This looks correct. The only interesting question is if the shortcut already exists, does the icon change to something that allows the user to remove the shortcut again? If so, the JS or whatever is used must be modified to also update the aria-label to something appropriate.

(cool that we don't have to add a new string, but can reuse an existing one for the label! :)
The button is just a link (non-removable) to the Marketplace, that's all it is.
Comment on attachment 772041 [details] [diff] [review]
Patch

Good enough for now. We might want to consider an explicit string, but I think the add-ons manager code will change a lot in the next few months.
Attachment #772041 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/fdfcd72cae5a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Verified fixed in Firefox 25.0a1 (2013-07-11).
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: