[wp-trac] [WordPress Trac] #25461: Edit published date of post - inputs with no labels
WordPress Trac
noreply at wordpress.org
Wed Oct 23 20:40:27 UTC 2013
#25461: Edit published date of post - inputs with no labels
----------------------------+------------------------------
Reporter: grahamarmfield | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Accessibility | Version: 3.6.1
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------------
Comment (by buffler):
Replying to [comment:17 sharonaustin]:
> I think it would make more sense to a screen-reader if instead of "HH"
we could say, "hours", instead of "MM" we could say "minutes"...
I had wondered about that before. I'm about to upload a patch that uses
{{{<abbr>}}} inside the label. Seemed to me like a good compromise -
screenreaders get the full translatable title, and the inline display of
each label/input pair is maintained with an abbreviation (also
translatable)... which leads me to:
> You can see the results here:
> [http://www.red-hound.com/Test21334/wordpress/?p=57]
The patch includes styles for the label for each field and the span
wrapping each label/field pair - but because we shouldn't patch minified
JS/CSS, to see the current styles in effect you'll have to define
{{{SCRIPT_DEBUG}}} in your {{{wp-config.php}}} file - here are
[http://codex.wordpress.org/Editing_wp-config.php#Debug the codex
instructions] to do that, and I'll upload a screenshot of how this looks
for me. (And thanks to helen for pointing that out earlier here - I'm
learning here too...)
Also, re: your last note - my patches have been against whatever the
current trunk version was at the time - I'm unsure of exactly the full
version each time, but it's been 3.7-whatever. I updated my local copy
today, so this new patch should be good against 3.7RC2.
Thoughts on the {{{<abbr>}}} thing? Am I right in thinking that's a good
solution to the accessibility vs. clean display problem?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25461#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list