最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - Does a date picker with date format instructions in placeholder fail 3.3.2 Labels and Instructions when an accessible dat

programmeradmin1浏览0评论

I found 3 accessible examples related to this, one of them is from Deque and uses only placeholder to provide instructions for date format.

/

/

In my understanding this should be a failure as placeholder disappears as soon as the user starts typing. And usually place of date and month creates confusion.

I found 3 accessible examples related to this, one of them is from Deque and uses only placeholder to provide instructions for date format.

https://dequeuniversity/library/aria/date-picker

https://www.w3./WAI/ARIA/apg/patterns/combobox/examples/combobox-datepicker/

https://www.w3./WAI/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog/

In my understanding this should be a failure as placeholder disappears as soon as the user starts typing. And usually place of date and month creates confusion.

Share Improve this question edited 5 hours ago Christoph Rackwitz 15.7k5 gold badges39 silver badges51 bronze badges asked yesterday rubisinghpanwarrubisinghpanwar 11 bronze badge New contributor rubisinghpanwar is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
Add a comment  | 

1 Answer 1

Reset to default 0

Per the W3C, placeholder text is not an adequate replacement for form labels. The W3C examples have more accessible labeling.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论