在第 508 条表格中呈现多个选项的最佳方式是什么?
我需要为用户(将使用屏幕阅读器)提供一种在表单中选择多个选项的方法。目前,这些选项排列在一个两列表格中,第一列中带有复选框,第二列中带有选项的 span
标签。这不符合第 508 条规定,但本网站需要这样做。我正在尝试找出用更好的东西替换这种形式的最佳方法。
我的选项是
- 使用
ul
/li
和label
作为复选框
,或者
- 使用多选下拉列表。
有人有偏好或更好的想法吗?
I will need to provide a way for a user (who will be using a screen reader) to select multiple options within a form. Currently, these options are laid out in a two column table with checkboxes in the first column and span
s with the label
for the option in the second column. This isn't section 508 compliant, but it will need to be for this site. I'm trying to figure out the best way to replace this form with something better.
The options I have are to either
- Use
ul
/li
s withlabel
s for the checkboxes
OR
- Use a multi-select drop down list.
Does anyone have a preference or a better idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我决定使用多选下拉菜单。万一有人想知道。它似乎与我正在使用的屏幕阅读器配合得很好。我确实发现 IE 似乎是最好的浏览器,但不幸的是,大多数屏幕阅读器在 Chrome 或其他浏览器上运行得不太好。我只能假设大多数视力障碍者可能因此而使用 IE。
I've decided to use a muli-select dropdown. In case anyone was wondering. It seems to work fairly well with the screen reader I'm using. I did find that IE seems to be the best browser to work with and most screen readers aren't working very well with Chrome or other browsers unfortunately. I can only assume then that most people who visually disabled are probably using IE because of this.