Closed Bug 635202 Opened 14 years ago Closed 14 years ago

Make Simple search page compliant with WAI

Categories

(Bugzilla :: User Interface, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: fdonalisio, Assigned: fdonalisio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (CK-IBM) (CK-IBM) Firefox/3.6.13 Build Identifier: We should change the Simple search page to make it complaint with W3C Web Accessibility Initiative. Reproducible: Always
Blocks: bz-WAI
Depends on: 634310
Implements the W3C accessibility technique - Separating information and structure from presentation to enable different presentations - http://www.w3.org/TR/WCAG20-TECHS/G140.html
Attachment #514015 - Flags: review?(timello)
Blocks: 635764
Attachment #514015 - Attachment is obsolete: true
Attachment #514225 - Flags: review?(timello)
Attachment #514015 - Flags: review?(timello)
Comment on attachment 514225 [details] [diff] [review] Remove WCAG 2.0 violations in the simple search page >=== modified file 'skins/contrib/Dusk/global.css' > /* other */ > >+.bz_simple_search th { >+ text-align: right; >+} >+ It should be in skins/standard/global.css instead or maybe even better in skins/standard/search_form.css and maybe call it: bz_simple_search_form >=== modified file 'template/en/default/search/search-specific.html.tmpl' >--- template/en/default/search/search-specific.html.tmpl 2009-07-20 04:17:40 +0000 >+++ template/en/default/search/search-specific.html.tmpl 2011-02-22 19:13:55 +0000 >@@ -38,15 +38,16 @@ > for "crash secure SSL flash". > </p> > >+<div class="bz_simple_search"> Instead of this, why don't you just add it in: <table summary="Search fields" class="bz_simple_search"> Then we don't need to add a new <div>. >+ <th> >+ <label for="content">Words:</label> >+ </th> > <td> > <input name="content" size="40" id="content" > value="[% default.content.0 FILTER html %]"> Aren't we missing the 'title' for this text field?
Attachment #514225 - Flags: review?(timello) → review-
Attachment #514225 - Attachment is obsolete: true
Attachment #518031 - Flags: review?(timello)
(In reply to comment #3) > Comment on attachment 514225 [details] [diff] [review] > Remove WCAG 2.0 violations in the simple search page > > >=== modified file 'skins/contrib/Dusk/global.css' > > > /* other */ > > > >+.bz_simple_search th { > >+ text-align: right; > >+} > >+ > > It should be in skins/standard/global.css instead or maybe even better in > skins/standard/search_form.css > > and maybe call it: bz_simple_search_form > > >=== modified file 'template/en/default/search/search-specific.html.tmpl' > >--- template/en/default/search/search-specific.html.tmpl 2009-07-20 04:17:40 +0000 > >+++ template/en/default/search/search-specific.html.tmpl 2011-02-22 19:13:55 +0000 > >@@ -38,15 +38,16 @@ > > for "crash secure SSL flash". > > </p> > > > >+<div class="bz_simple_search"> > > Instead of this, why don't you just add it in: > > <table summary="Search fields" class="bz_simple_search"> > > > Then we don't need to add a new <div>. > > >+ <th> > >+ <label for="content">Words:</label> > >+ </th> > > <td> > > <input name="content" size="40" id="content" > > value="[% default.content.0 FILTER html %]"> > > Aren't we missing the 'title' for this text field? The 'title' is not required if there is a label for the input.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 518031 [details] [diff] [review] Remove WCAG 2.0 violations in the simple search page It looks good! Thanks Francisco!
Attachment #518031 - Flags: review?(timello) → review+
Flags: approval?
Assignee: ui → francsd
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 4.2
Also, I have given Francisco editbugs so he can assign things to himself.
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified skins/standard/search_form.css modified template/en/default/search/search-specific.html.tmpl Committed revision 7770.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: