jekor / drcal

A Minimalist JavaScript Calendar (not a date picker)
http://www.minjs.com/#drcal
MIT License
26 stars 5 forks source link

make calendar buttons more accessable #5

Closed midzer closed 8 years ago

midzer commented 8 years ago

Hi. Just two minor additions to make month change buttons more accessable for people using screen readers.

Maybe there is a way to externalize the value in css to support different languages?

Cheers midzer

jekor commented 8 years ago

I'm not aware of a way to do internationalization with CSS. Probably the simplest way for this would be to pass the labels as part of the options object (like the labels for the month names). However, even English-only labels seem like an improvement here, so I'll merge. Thanks.