Closed Bug 440856 Opened 16 years ago Closed 16 years ago

Should the searchlogoform's orange search-arrow image have an ALT attribute?

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: brian)

References

()

Details

(Keywords: access, Whiteboard: sumo_only theme)

For accessibility reasons, I think the <div> "searchlogoform"'s orange search-arrow image should probably have at least an ALT attribute -- though I'm not sure; it might be enough that it's named.

cc:ing Marco -- thoughts?
(In reply to comment #0)
> For accessibility reasons, I think the <div> "searchlogoform"'s orange
> search-arrow image should probably have at least an ALT attribute -- though I'm
> not sure; it might be enough that it's named.

No, it should definitely expose something more useful. Right now, the input has the following attributes:

id=searchsubmit
name=sa
type=submit
value= 

Since there's no value present, I'm getting "sa" as the button's label, which is not pretty. :-)

So either give the input a value, or give the associated image an alt attribute.

One other thing I noticed: Neither of the textboxes has a proper label. I mean, visually there's text that indicates what the textbox is for, but there is no HTML:label association with these textboxes.

On amo, for example, these search textboxes all have a proper label.
We should definitely add alt="Search" or similar to that image.

Marco, the other things sound like stuff we should definitely fix on SUMO. Could you file bugs for that please? Thanks!
Target Milestone: 1.1 → 0.7
Will stick in an alt attr, as well as look into better labeling for the searchbox.
Assignee: nobody → bkrausz
Added alt and title, r17263.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Is this fix localizable?

I can verify that ALT="Search" and TITLE="Search" are present.

Marco, could you also verify that this fix is fine on http://support-stage.mozilla.org/en-US/kb/?  (login=support, password=stage; these aren't private, they're just to prevent bots from archiving the staging site).  Thanks!
Already localized...see http://support-stage.mozilla.org/es/kb/
This works just fine, thanks!
Verified FIXED; thanks to both Marco and Brian (I should've checked another locale, my bad!)
Status: RESOLVED → VERIFIED
Whiteboard: sumo_only theme
You need to log in before you can comment on or make changes to this bug.