[richfaces-issues] [JBoss JIRA] (RF-12420) InplaceInput template: negative tabindex

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Aug 21 20:28:14 EDT 2012


     [ https://issues.jboss.org/browse/RF-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem resolved RF-12420.
--------------------------------

    Resolution: Won't Fix


Negative values for tabindex have a use case:
http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#focus

Notice hot the input elemment 5 lines later usses the cdk passthrough tabindex:
https://github.com/richfaces/components/blob/develop/input/ui/src/main/templates/inplaceInput.template.xml#L59

I believe the use case here is that you don't tab to inplace input's until they've been activated as editable inputs.
                
> InplaceInput template: negative tabindex
> ----------------------------------------
>
>                 Key: RF-12420
>                 URL: https://issues.jboss.org/browse/RF-12420
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.3.0.Milestone1
>            Reporter: Lukáš Fryč
>
> According to W3C, tabindex "must be a number between 0 and 32767. User agents should ignore leading zeros." [1]
> But {{inplaceInput}} uses value "-1" as seen from {{[template|https://github.com/richfaces/components/blob/develop/input/ui/src/main/templates/inplaceInput.template.xml#L54}}.
> This also negatively affects usability, since helper controls for {{inplaceInput}} can't be found by keys.
> ----
> Note that IE specifies tabindex itself [2] and it allows negative number values. [2]
> [1] http://www.w3.org/TR/html401/interact/forms.html#adef-tabindex
> [2] http://msdn.microsoft.com/en-us/library/ie/ms534654(v=vs.85).aspx

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list