Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jquery表排序器-508遵从性_Jquery_Tablesorter_Section508 - Fatal编程技术网

jquery表排序器-508遵从性

jquery表排序器-508遵从性,jquery,tablesorter,section508,Jquery,Tablesorter,Section508,知道使用什么键盘快捷键来访问列标题中的tablesorter控件吗?或软件处理程序/其他支持508法规遵从性(支持通过键盘访问这些控件)?为此,我肯定会使用预先存在的库。可访问的表格有一些细微差别,可能会消耗时间,如果您没有屏幕阅读器的经验,则很难进行测试 当谈到漂亮的桌子时,我最喜欢的是YUI 3: 他们的图书馆是坚实的,他们的文档是了不起的。只是要确保遵循他们的例子,以获得充分的好处。你可以选择一个可访问的库,并很容易地创建一个不可访问的站点。为此,我肯定会选择一个已有的库。可访问的表格有

知道使用什么键盘快捷键来访问列标题中的tablesorter控件吗?或软件处理程序/其他支持508法规遵从性(支持通过键盘访问这些控件)?

为此,我肯定会使用预先存在的库。可访问的表格有一些细微差别,可能会消耗时间,如果您没有屏幕阅读器的经验,则很难进行测试

当谈到漂亮的桌子时,我最喜欢的是YUI 3:


他们的图书馆是坚实的,他们的文档是了不起的。只是要确保遵循他们的例子,以获得充分的好处。你可以选择一个可访问的库,并很容易地创建一个不可访问的站点。

为此,我肯定会选择一个已有的库。可访问的表格有一些细微差别,可能会消耗时间,如果您没有屏幕阅读器的经验,则很难进行测试

 <script type="text/javascript">
       $(document).ready(function() {
            <%--Applies the jQuery tablesorter plugin to any table with the class "addTableSorter"--%>
            <%--Also enables tabbing to and pressing enter on the headers to sort for 508 compliance--%>
            $('table.addTableSorter')
        .tablesorter()
        .find('th')
            .keypress(function(e) { 
            if (e.which == 13) { //code for enter key
                e.preventDefault(); 
                $(this).trigger('click'); //simulate a click
            } 
         })
    .attr('tabindex', '0');
    });
    </script>
当谈到漂亮的桌子时,我最喜欢的是YUI 3:

他们的图书馆是坚实的,他们的文档是了不起的。只是要确保遵循他们的例子,以获得充分的好处。您可以使用一个可访问的库,轻松创建一个不可访问的站点。


 <script type="text/javascript">
       $(document).ready(function() {
            <%--Applies the jQuery tablesorter plugin to any table with the class "addTableSorter"--%>
            <%--Also enables tabbing to and pressing enter on the headers to sort for 508 compliance--%>
            $('table.addTableSorter')
        .tablesorter()
        .find('th')
            .keypress(function(e) { 
            if (e.which == 13) { //code for enter key
                e.preventDefault(); 
                $(this).trigger('click'); //simulate a click
            } 
         })
    .attr('tabindex', '0');
    });
    </script>
$(文档).ready(函数(){ $('table.addTableSorter') .tablesorter() .find('th')) .按键(功能(e){ 如果(e.which==13){//输入键的代码 e、 预防默认值(); $(this.trigger('click');//模拟单击 } }) .attr('tabindex','0'); });

$(文档).ready(函数(){
$('table.addTableSorter')
.tablesorter()
.find('th'))
.按键(功能(e){
如果(e.which==13){//输入键的代码
e、 预防默认值();
$(this.trigger('click');//模拟单击
} 
})
.attr('tabindex','0');
});

对不起,我不知道有关508合规性的信息,因此我必须询问。。。如果无法“聚焦”桌子,您将如何使用键盘与它交互。如果一个页面上有多个表,这是必需的。如果我有什么指导的话,我会很乐意在我的fork of tablesorter上做一些事情。对不起,我不知道508合规性,所以我不得不问。。。如果无法“聚焦”桌子,您将如何使用键盘与它交互。如果一个页面上有多个表,这是必需的。如果我有什么方向的话,我会很乐意在我的fork of tablesorter上做一些事情。自从给出这个答案以来,YUI的开发已经停止了。自回答此问题以来,YUI的开发已停止。