实现这些键盘特性并不困难,但是要将此小部件的属性通知给屏幕阅读器就不是一件很容易的事。
It will not be hard to implement these keyboard features, but it is difficult to tell screen readers the attributes of this widget.
基本上,您应该启动键盘交互并尝试让屏幕阅读器知道小部件是什么以及它的当前状态和属性。
Basically, you should enable keyboard interaction and try to "tell" screen readers what the widget is and what its current states and attributes are.
属性包括总是位于顶层的选项、自动隐藏自动显示、切换任意标签可见性的键盘快捷键、透明度和主题。
Properties include options like always on top, autohide, autoshow, keyboard shortcuts to toggle visibility of any tab, transparency and themes.
对于文本字段,MobileSafari将定义用于控制软键盘行为的两个自定义属性:autocorrect和autocapitalize。
For text fields, Mobile Safari defines two custom attributes that control the behavior of software keyboard: autocorrect and autocapitalize.
它允许所有的HTML元素接收键盘关注,因为ARIA扩展了tabindex属性作用域。
It allows all HTML elements to receive keyboard focus because ARIA extends the tabindex property scope.
嵌套组件的onblur属性也发生更改,以在元素丢失键盘焦点时清除帮助消息。
The onblur attribute of the nested component is also changed to clear the help message when the element loses the keyboard focus.
当丢失键盘焦点时,和元素使用onblur属性来验证它们的值。
The, and elements use the onblur attribute to validate their values as soon as the keyboard focus is lost.
当UI组件获得或丢失键盘焦点,它将生成可以通过onfocus和onblur属性捕获的事件。
When a UI component gains or loses the keyboard focus, it generates events that can be captured through the onfocus and onblur attributes.
将EVENT对象的cancelBubble属性设置为true,取消键盘事件的事件链
Canceling the event chain for the keyboard event by setting the cancelBubble property on the EVENT object to true
所有可以接收键盘焦点的对象都必须支持该属性。
All objects that can receive the keyboard focus must support this property.
按住键盘上的option键,点击时间轴上的属性,这将在你当前点击的时间点上建立一个关键帧。
Once the properties are visible you can click the property in the timeline with the option key held down. This will create a new keyframe at the time of the click.
在个别控制项样式上设定这个属性而非当做布景主题的一部分并不是这个属性的预期使用方式,因为如此可能在键盘焦点方面造成混淆的使用者经验。
Setting this property on individual control styles and not as part of a theme is not the intended usage of this property, because it may lead to a confusing user experience regarding keyboard focus.
在个别控制项样式上设定这个属性而非当做布景主题的一部分并不是这个属性的预期使用方式,因为如此可能在键盘焦点方面造成混淆的使用者经验。
Setting this property on individual control styles and not as part of a theme is not the intended usage of this property, because it may lead to a confusing user experience regarding keyboard focus.
应用推荐