<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Replace ARIA grid role with listbox role</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/replace-aria-grid-role-with-listbox-role</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/replace-aria-grid-role-with-listbox-role/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Jakooth on Replace ARIA grid role with listbox role</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-aria-grid-role-with-listbox-role#p30620</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-aria-grid-role-with-listbox-role#p30620</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>We are using jqGrid, but we have high requirements for accessibility and the grid role is not working well when we tested with NVDA and JAWS screen readers combined with jqGrid keyboard navigation.</p>
<p>We use other plain html tables with the ARIA listbox role without any problems and I would like to alter some HTML attributes in jqGrid to have better user exeperience for visualy imapared users.</p>
<p>I can brute force this with jQuery on loadComplete, but I want to ask if there is a nicer way to do some extension for the table and row renderers.</p>
<p>These are some the thigs in the final output I&#39;m looking to modify:</p>
<ul>
<li>Header table is just for presentation. It is no accessible without the content and vice versa.:<br />&#60;table ... <span style="color: #ff0000;">aria-labelledby="gbox_table"</span> <span style="color: #ff0000;">role="grid"</span> <span style="color: #339966;">role="presentation"</span> class="ui-jqgrid-htable"&#62;<br />&#60;tr <span style="color: #ff0000;">role="rowheader"</span> class="ui-jqgrid-labels ui-sortable"&#62;<br />&#60;th ... class="ui-state-default ui-th-column ui-th-ltr" <span style="color: #ff0000;">role="columnheader"</span>&#62;</li>
<li>Content table need to be listbox<br />&#60;table ... tabindex="0" role="listbox" <span style="color: #339966;">aria-activedescendant=""</span> aria-multiselectable="true" <span style="color: #ff0000;">aria-labelledby="gbox_table"</span> <span style="color: #ff0000;"><span style="color: #339966;">aria-labelledby="someProperHeadingID"</span> </span>class="ui-jqgrid-btable axw-scroll-spy"&#62;<br />&#60;tr class="ui-widget-content jqgrow ui-row-ltr" tabindex="-1" id="1" <span style="color: #ff0000;">role="row"</span> <span style="color: #339966;">role="option" aria-labelledby="jqg_table_1"</span>&#62;<br />&#60;td ... <span style="color: #339966;"><span style="color: #ff0000;">aria-describedby="table_cb"</span></span> <span style="color: #ff0000;">role="gridcell"</span>&#62;</li>
<li>I need labels for the multi-select checkboxes<br /><span style="color: #339966;">&#60;label for="jqg_table_1"&#62;A proper label&#60;/label&#62;</span><br />&#60;input type="checkbox" class="cbox" id="jqg_table_1" role="checkbox"&#62;</li>
</ul>
<p>Bottom line these are the kind of small modifications I&#39;m looing to do. Can you recommend where to extend the extra code?</p>
<p>Thanks,</p>
<p>Ivan</p></p>
]]></description>
        	        	<pubDate>Tue, 13 May 2014 19:07:10 +0300</pubDate>
        </item>
</channel>
</rss>