更加有效的就是将响应的错误消息链接到出错字段的一个页面定位点处,并将将焦点设置为该字段,如清单2所示。
Even more effective is to link the respective error message to a page anchor located at the field in error and set the focus to that field, as shown in Listing 2.
将属性设置为true意味着当焦点来回转移时,这个焦点将一直呆在焦点循环根内的一个 循环组件之中。
Setting the property to true means that when focus moves back and forth, the focus will always stay within a component of the cycle within its focus cycle root.
将浏览器焦点设置为具有指定标识符的控件。
Sets the browser focus to the control with the specified identifier.
如果设置为true,当点击这个view时能获取焦点,如果别的焦点没有对这个属性(focusableInTouchMode)设置为true的话,这个view可以继续保持焦点。
If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.
如果设置为true,当点击这个view时能获取焦点,如果别的焦点没有对这个属性(focusableInTouchMode)设置为true的话,这个view可以继续保持焦点。
If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.
应用推荐