Closed Bug 617735 Opened 15 years ago Closed 12 years ago

Search field width in Media Gallery is too long in non en-US locales

Categories

(support.mozilla.org :: Knowledge Base Software, task, P4)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q1

People

(Reporter: rbillings, Assigned: joshua-s)

Details

(Whiteboard: u=contributor c=wiki p=0 s=2013.4 [mentor=r1cky])

Attachments

(2 files)

Attached image FR search
The FR media gallery search button has wrapped beneath the search field due to text length. It is displayed with no space between the field and the button. See attachment.
OS: Mac OS X → All
Hardware: x86 → All
Assignee: nobody → paulc
Assignee: paul+moz → nobody
It's still applicable after the redesign (similar to bug 792465).
Summary: FR media gallery search button display → Search field width in Media Gallery is too long in non en-US locales
Whiteboard: u=contributor c=wiki p=1 [mentor=r1cky]
Since the form submits on enter, couldn't we do away with the button (which is an eyesore, and not really needed), and use the placeholder attribute in the textbox.
It would be a very minor change, and I don't think it would cause any problems.
Thanks, Josha! That seems like an elegant solution.
Priority: -- → P4
Target Milestone: Future → 2013Q1
Assigning to Michael. Have fun with it ;)
Assignee: nobody → michael.christian.frick
Status: NEW → ASSIGNED
:atopal removing the button may solve the layout issue, but it causes a problem for accessibility. Screen readers would never have a submit button to tab over to prompt the user to submit. One solution to this might be to hide the button using some creative CSS. Thoughts?
We could keep the button and make it a search icon instead of text that has to be localized. We could show/hide the button for specific devices with media queries, or it could always be visible.
Either solution sounds good to me. And now that I'm looking at it, we do have that search icon in the search bar in the header already. Looks to me like we could reuse that.
I have created a pull request to address this issue: https://github.com/mozilla/kitsune/pull/1146/
Assigning to Joshua since he filed the PR already.
Assignee: michael.christian.frick → micovision
Landed on prod now.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
updating the the sprint it landed in.
Whiteboard: u=contributor c=wiki p=1 [mentor=r1cky] → u=contributor c=wiki p=0 s=2013.4 [mentor=r1cky]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: