[wp-trac] [WordPress Trac] #22456: Audit the admin with JavaScript off

WordPress Trac noreply at wordpress.org
Tue Nov 20 17:31:40 UTC 2012


#22456: Audit the admin with JavaScript off
------------------------------------+------------------
 Reporter:  nacin                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.5
Component:  Accessibility           |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  audit has-patch commit  |
------------------------------------+------------------

Comment (by TobiasBg):

 Replying to [comment:13 lessbloat]:
 > 22456.4.patch uses CSS to hide check all checkboxes.

 Using the existing {{{.hide-if-no-js}}} has the advantage that it adds
 "meaning" or "reasoning" as to why the checkboxes are hidden - directly to
 the checkboxes' markup. Using some extra CSS for this instead might make
 the markup shorter, but opens the question: "Why do we actually have and
 keep {{{.hide-if-no-js}}} then?"
 The new CSS adds what {{{.hide-if-no-js}}} wants to prevent: Extra and
 hard to maintain CSS code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22456#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list