简体   繁体   English

JAWS没有在单选按钮上进入自动表单模式

[英]JAWS not entering auto form mode on radio buttons

I have a form with 120 radio buttons, grouped in 30 fieldsets of each 4 radiobuttons. 我有一个带有120个单选按钮的表单,每个4个单选按钮分为30个字段集。 There is one submit <button> . 有一个提交<button> There are no other inputs. 没有其他输入。

When not using JAWS, the tab behaviour of various browsers work fine. 不使用JAWS时,各种浏览器的选项卡行为都可以正常工作。 When focusing a fieldsets first radio button, the arrows jump between radiobuttons, and space bar selects one. 当聚焦场集第一单选按钮时,箭头在单选按钮之间跳转,空格键选择一个。 Tab jumps to the next fieldset. 标签跳转到下一个字段集。

As soon as JAWS is running, when focusing a fieldsets first radio button, 'form mode' is not entered automatically. 一旦JAWS运行,当聚焦字段集第一个单选按钮时,不会自动输入“表单模式”。 Arrows start reading characters one by one. 箭头开始逐个读取字符。 Tab jumps to the next fieldset. 标签跳转到下一个字段集。 Pressing enter enters form mode ('plonk') and then it works as normal. 按Enter键进入表格模式('plonk'),然后正常工作。

'auto form mode' is selected in the settings and it works on other forms on the internet. 在设置中选择“自动表单模式”,它可以在Internet上的其他表单上运行。

two questions: 两个问题:

  • does anyone know why this could happen ? 有谁知道为什么会发生这种情况?
  • does anyone know a way to force jaws into form mode using html ? 有没有人知道使用html强制下颚进入表格模式的方法?

on request: a snippet of the html 根据要求:html的片段

<fieldset>
    <legend>
        <h2 tabindex="0">
            Text
        </h2>
    </legend>
    <p tabindex="0">
        Text
    </p>
    <input type="radio" id="xxxx" name="xxxx" data-foo="xxx" value="a">
    <label for="xxxx">
        <strong>
            Text 
        </strong>
    </label>
    <input type="radio" id="yyyy" name="xxxx" data-foo="yyyy" value="b">
    <label for="yyyy">
        <strong>
            Text 
        </strong>
    </label>
    <input type="radio" id="zzzz" name="xxxx" data-foo="zzzz" value="d">
    <label for="zzzz">
        Text
    </label>
</fieldset>

This is not a solution .. posting it for future readers 这不是一个解决方案..发布给未来的读者

http://tink.uk/understanding-screen-reader-interaction-modes/ http://tink.uk/understanding-screen-reader-interaction-modes/

There is one anomaly amongst form fields when it comes to forms/focus mode. 在表单/焦点模式方面,表单字段中存在一个异常。 Although it's possible to select a radio button without switching modes, it is necessary to be in forms/focus mode in order to use the cursor keys to cycle through the radio buttons in a group. 虽然可以在不切换模式的情况下选择单选按钮,但是必须处于表格/对焦模式才能使用光标键循环浏览组中的单选按钮。 Being unaware of this can sometimes lead to the mistaken belief that a radio group is somehow flawed. 如果没有意识到这一点,有时会导致错误地认为无线电组织存在某些缺陷。

This looks like what I am seeing. 这看起来像我所看到的。 You have to actually select the first radio button to enter form mode (which then says 'plunk') before you can navigate the other options. 您必须先选择第一个单选按钮进入表单模式(然后显示为“plunk”),然后才能导航其他选项。 If you don't, the cursor keys will start reading characters ('a','space','space',..) and the tab key takes the focus away from the fieldset. 如果不这样做,光标键将开始读取字符('a','space','space',..),tab键使焦点远离字段集。

So this might be 'intended behaviour' :-/ 所以这可能是'预期行为': - /

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM