简体   繁体   English

Primefaces树组件上的箭头和选项卡导航

[英]Arrow and tab navigation on Primefaces Tree Component

To make our application WAI-ARIA conformant, i would like to enable the users to be able to navigate, expand, close nodes on a Primefaces tree compoponent using the arrows, tabs and enter keys. 为了使我们的应用程序符合WAI-ARIA,我希望使用户能够使用箭头,标签和Enter键来导航,扩展,关闭Primefaces树组件上的节点。 On the PF showcase , I see that the tree is navigable using these keys but when I implement my own, I cant. 在PF 展示柜上 ,我看到使用这些键可以导航树,但是当我实现自己的树时,就不能。 Could anybody enlighten me how I could achieve this. 任何人都可以启发我如何实现这一目标。

Can someone also confirm to me that this feature is only available in the Elite version of Primefaces 5.1.X? 有人可以向我确认该功能仅在Primefaces 5.1.X的Elite版本中可用吗? If so does anyone know when it would be available on the community version? 如果是这样,有谁知道社区版本什么时候可用?

I am using the PF 5.1 community version on tomcat 7 container. 我正在tomcat 7容器上使用PF 5.1社区版本。

Easy to find in the PF issuelist and blog 易于在PF问题列表博客中找到

Answer: Yes, since 5.1.3, Answer 2: So it will be in a community version for 5.2 答:是的,从5.1.3开始,答案2:所以它将是5.2的社区版本

How to do this yourself? 你自己怎么做? I'd try to download the tree.js source from PrimeFaces SVN from 5.1 and trunk, compare and try to patch the existing code 我将尝试从PrimeFaces SVN的5.1和trunk下载tree.js源代码,进行比较并尝试修补现有代码

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

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