如何更改在Android版Chrome浏览器中更改单选按钮选择时多次声明对接状态的已检查状态更改

问题描述 投票:0回答:1

我正在使用AA可访问的Web应用程序,在该应用程序中我具有一个带有单选按钮组的简单表单。当我已经选择单选按钮并更改选择后,Android Talkback会宣布状态更改两次。它会说“未选中检查”或“未选中检查”。

我的标记严格遵循此处https://webaim.org/techniques/forms/controls#radio中所述的可访问性准则。我什至不确定这是错误还是功能。

Codepen:https://codepen.io/bhargavshah/pen/PXVBML

<fieldset>
    <legend>Choose a shipping method:</legend>
    <input id="overnight" type="radio" name="shipping" value="overnight">
    <label for="overnight">Overnight</label><br>
    <input id="twoday" type="radio" name="shipping" value="twoday">
    <label for="twoday">Two day</label><br>
    <input id="ground" type="radio" name="shipping" value="ground">
    <label for="ground">Ground</label>
</fieldset>

预期结果:对讲应该在选择更改时仅在单选按钮上宣布“已选中​​”。

实际结果:更改选择时,对讲会在单选按钮上宣布“未选中”。

browser radio-button accessibility talkback
1个回答
0
投票

我只是在寻找与复选框相关的其他问题的答案时碰到了这篇文章,但是万一您没有得到答案,这不是缺陷。屏幕阅读器的这种预期行为会告诉您该项目的当前状态,然后是新状态。

© www.soinside.com 2019 - 2024. All rights reserved.