Skip to main content

Search and Top Navigation

#7467 open bug ()

Opened June 12, 2011 04:00PM UTC

Last modified June 24, 2014 11:11PM UTC

Datepicker icon should have more descriptive alt text

Reported by: rdworth Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.8.13
Keywords: Cc:
Blocked by: Blocking:
Description

The datepicker alt attribute value is currently '...' This is not sufficiently descriptive as alternative text. From http://forum.jquery.com/topic/alt

Attachments (0)
Change History (12)

Changed June 12, 2011 04:00PM UTC by rdworth comment:1

description: The datepicker alt attribut value is currently '...' This is not sufficiently descriptive as alternative text. From http://forum.jquery.com/topic/altThe datepicker alt attribute value is currently '...' This is not sufficiently descriptive as alternative text. From http://forum.jquery.com/topic/alt

Changed June 12, 2011 08:03PM UTC by gnarf comment:2

_comment0: Submitted pull request, changed default to 'Pick Date'.1307912525662906

Submitted pull request, changed default to 'Pick Date'. https://github.com/jquery/jquery-ui/pull/362

Changed June 12, 2011 11:54PM UTC by scottgonzalez comment:3

_comment0: I'm inclined to close this as wont fix. There's almost no chance of us landing something reasonable for all of our supported locales and this will almost certainly be handled in a different way with the rewrite.1307922885505761

I'm inclined to close this as wontfix. There's almost no chance of us landing something reasonable for all of our supported locales and this will almost certainly be handled in a different way with the rewrite.

Changed June 13, 2011 02:30PM UTC by rdworth comment:4

I think english is a much better default than no language at all. Even once we switch to another system, a reasonable translation system will not return an empty string if there's no translation found, it will return the untranslated string. So I don't see a reason to not do the same here already.

Changed June 13, 2011 02:32PM UTC by rdworth comment:5

maybe we should just default to 'date' as in input type=date. Imagine a non-english speaker with images turned off. Much better for them to see an input followed by the english word 'date' than an input followed by '...'

Changed October 26, 2011 03:24PM UTC by vanderhoorn comment:6

What about putting it in the regional files? Or is that not possible?

Another possibility would be to use the filename (without slashes and the file extension). So '/images/date_picker.png' would result in 'date picker', or something similar.

Changed October 11, 2012 02:43PM UTC by scottgonzalez comment:7

milestone: 1.9.01.11.0

Changed October 19, 2012 07:05PM UTC by mikesherov comment:8

status: newopen

Changed April 03, 2013 06:02PM UTC by scottgonzalez comment:9

My preference is for the button option to just go away, but a final decision will have to wait for the API redesign.

Changed October 27, 2013 03:25PM UTC by dylanb comment:10

@scott.gonzalez - in the interim, we could update the examples to use the buttonText option to set the text

Changed October 27, 2013 03:41PM UTC by scottgonzalez comment:11

I've created a ticket for this: #9626. Do you want to send a PR? If not, I can land an update during the week.

Changed June 24, 2014 11:11PM UTC by scottgonzalez comment:12

milestone: 1.11.0none