Primefaces Primeface confirmDialog可访问性

Primefaces Primeface confirmDialog可访问性,primefaces,jsf-2,accessibility,confirm-dialog,Primefaces,Jsf 2,Accessibility,Confirm Dialog,我的屏幕阅读器无法访问确认对话(Orca 3.22.2) 读卡器只读取标题,而不读取对话框的消息。由于默认情况下焦点设置在第一个按钮上(大部分时间在文本之后),因此特别麻烦 有没有人在内容中使用咏叹调或任何可能有效的方法来绕过这个问题 编辑:对话框的渲染代码: <div role="dialog" aria-labelledby="form:j_idt152_title" aria-hidden="false" aria-live="polite"> <div

我的屏幕阅读器无法访问确认对话(Orca 3.22.2)

读卡器只读取标题,而不读取对话框的消息。由于默认情况下焦点设置在第一个按钮上(大部分时间在文本之后),因此特别麻烦

有没有人在内容中使用咏叹调或任何可能有效的方法来绕过这个问题

编辑:对话框的渲染代码:

 <div role="dialog" aria-labelledby="form:j_idt152_title" aria-hidden="false" aria-live="polite">
        <div>
           <span>Dialog Title </span>
           <a href="#" aria-label="Close" role="button">
                 <span class="ui-icon ui-icon-closethick"></span>       
          </a>
        </div>
        <div>
           <span ></span>
           <span >Message that needs to be read</span>
        </div>

        </div>
           <input id="form:ok" name="form:ok" value="ok" title="explanation on button" type="submit">
         <input  value="close" type="button">
        </div>
    </div>

对话标题
需要阅读的消息
已创建GitHub问题:


PrimeFaces 6.3有望接受将请求更新为最新的ARIA标准:

我想这只是ARIA在确认对话框文本中缺少的内容。您可以检查一下为确认对话框生成的内容的HTML源代码吗?然后我们只需要确定要在消息上放置哪个ARIA角色。如果您知道需要做什么,只需在PraimeFacesy的GitHub问题页面上简单报告即可。我为info添加了生成的代码(减去所有的类和样式),消息中没有任何role/aria。我将查找这些东西是如何工作的,看看是否可以提供修复组件的解决方案。并始终包含相关的版本信息。在这种情况下,PF是唯一的