[richfaces-issues] [JBoss JIRA] Commented: (RF-8067) keyboard navigable rich:datascroller

Laura Bailey (JIRA) jira-events at lists.jboss.org
Thu Jun 10 01:08:38 EDT 2010


    [ https://jira.jboss.org/browse/RF-8067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12534861#action_12534861 ] 

Laura Bailey commented on RF-8067:
----------------------------------

Documented as a fixed issue for WFK 1.1:
            The <classname>rich:datascroller</classname> generated markup like the following,
            which was not keyboard-navigable:
          <programlisting><![CDATA[<td class="dr-dscr-inact rich-datascr-inact" 
  onclick="Event.fire(this, 'rich:datascroller:onscroll', {'page': '1'});">1</td>]]></programlisting>
            This has been altered to generate markup like the following, which allows
            keyboard navigation:
          <programlisting><![CDATA[<td class="dr-dscr-inact rich-datascr-inact" 
  onclick="Event.fire(this, 'rich:datascroller:onscroll', {'page': '1'});">
  <a href="javascript:void(0)">1</a>
</td>]]></programlisting>

> keyboard navigable rich:datascroller
> ------------------------------------
>
>                 Key: RF-8067
>                 URL: https://jira.jboss.org/browse/RF-8067
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Gary Hu
>            Assignee: Nick Belaevski
>             Fix For: 3.3.4.BETA1, ENT_3.3.1.SP2
>
>
> The rich:datascroller generates the markup html code like this:
>   <td class="dr-dscr-inact rich-datascr-inact" onclick="Event.fire(this, 'rich:datascroller:onscroll', {'page': '1'});">1</td>
> The code above is not keyboard navigable. For example, it can not be set focus. 
> Can we generate the html markup like the following?
>   
>   <td class="dr-dscr-inact rich-datascr-inact"  onclick="Event.fire(this, 'rich:datascroller:onscroll', {'page': '1'});"><a href="javascript:void(0)">1</a></td>
> The <a> tag will enable it to be keyboard navigable. 
> Furthermore, maybe we can add one property for rich:datascroller to determine if needing to generate keyboard navigable page link or not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list