为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

For combo box fire box is not supported well for combo boxes for keyboard users.Can you work on comboboxes /select box and make them accessible to keyboard user

more options

Use default HTML code for select box

Keyboard users open the list using ALT+down arrow key

After viewing the selections in the list using up and down arrow user selects "Esc" key hoping to close the drop down list without making any selection

Expected: The list is closed without selecting the highlighted option

Actual: The list close by selecting the highlighted option

After discussion with many experts I learned that this is issue with browser not supporting the HTML code

Can you please fix this?

Use default HTML code for select box Keyboard users open the list using ALT+down arrow key After viewing the selections in the list using up and down arrow user selects "Esc" key hoping to close the drop down list without making any selection Expected: The list is closed without selecting the highlighted option Actual: The list close by selecting the highlighted option After discussion with many experts I learned that this is issue with browser not supporting the HTML code Can you please fix this?

所有回复 (5)

more options

Hi shirisha, is there a standards document online that describes how it is supposed to work? I am finding inconsistent behavior in different browsers on Windows:

  • Firefox: pressing Esc closes the list of options for the Select, but does not cancel the change made by using the up and down arrows
  • Google Chrome: same as Firefox
  • Internet Explorer 8: pressing Esc activates the Reset button of the form, clearing all inputs/selects back to default input values (I only tested one form...)
more options

Please refer to DHTML Standard guide on how it should work

more options

Sorry, but could you be more specific?

https://www.google.com/search?q=DHTML+Standard+guide

more options
more options

Thank you for the link.

Up and Down Arrow moves focus up and down the list. As focus moves inside the dropdown list, the edit field is updated.

Enter selects the current item on the list, updates the edit field, highlights the selected item in the dropdown list, closes the dropdown list and returns focus to the input field.

Tab moves focus into the edit field (Edit field to hold value of selected item in the dropdown list). A second Tab key selects the current item on the list, updates the edit field, closes the dropdown list, and moves focus to the next focusable item in the tab order.

Escape key closes the dropdown list, returns focus to the edit field, and does not change the current selection.

I am a little confused by the terms "edit field" and "current selection." The arrows update the "edit field" but pressing Esc should not change the "current selection." There must be some discussion of what that was intended to mean in order for Firefox and Chrome to work so differently from Internet Explorer...