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

Victor Rubezhny (JIRA) issues at jboss.org
Mon May 12 10:49:57 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966347#comment-12966347 ] 

Victor Rubezhny edited comment on JBIDE-17242 at 5/12/14 10:48 AM:
-------------------------------------------------------------------

An UpStream issue is created: [Bug 434381 - HTML5 validation should allow the 'role' and 'aria-*' attributes|https://bugs.eclipse.org/bugs/show_bug.cgi?id=434381]

Patch is provided for the issue


was (Author: vrubezhny):
An UpStream issue is created: [Bug 434381 - HTML5 validation should allow the 'role' and 'aria-*' attributes|https://bugs.eclipse.org/bugs/show_bug.cgi?id=434381]

> 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
> A working example can be found in [contacts-mobile-basic|https://github.com/joshuawilson/jboss-wfk-quickstarts/blob/JDF-702/contacts-mobile-basic/src/main/webapp/index.html#L83]



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


More information about the jbosstools-issues mailing list