[jbosstools-issues] [JBoss JIRA] (JBIDE-17242) HTML validation should allow the 'role' attribute.

Alexey Kazakov (JIRA) issues at jboss.org
Wed May 7 18:50:57 EDT 2014


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

Alexey Kazakov updated JBIDE-17242:
-----------------------------------

    Component/s: upstream


> HTML validation should allow the 'role' attribute.
> --------------------------------------------------
>
>                 Key: JBIDE-17242
>                 URL: https://issues.jboss.org/browse/JBIDE-17242
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing, upstream
>            Reporter: Joshua Wilson
>            Assignee: Victor Rubezhny
>            Priority: Minor
>             Fix For: 4.2.0.Beta2
>
>
> I found this out when trying to implement jQuery Mobile 1.4.2. There is over 20 different docs where they use the attribute 'role'.  After looking into it, this is something that should be allowed by the HTML validator. The validator produces this warning, "Undefined attribute name (role)."
> http://www.w3.org/TR/html5/dom.html#global-attributes states "To enable assistive technology products to expose a more fine-grained interface than is otherwise possible with HTML elements and attributes, a set of http://www.w3.org/TR/html5/dom.html#wai-aria can be specified (the ARIA http://www.w3.org/TR/html5/infrastructure.html#attr-aria-role and aria-* attributes). http://www.w3.org/TR/html5/references.html#refsARIA"
> this is how it is linked to HTML5 : http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics
> also see: http://www.w3.org/WAI/PF/aria/usage#usage_intro



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list