Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344965 - Add WAI-ARIA support
Summary: Add WAI-ARIA support
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 7
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: wst.html CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 09:49 EDT by Bert CLA
Modified: 2014-05-29 09:50 EDT (History)
5 users (show)

See Also:


Attachments
Screen snap showing ARIA warnings (89.99 KB, image/png)
2012-10-29 10:01 EDT, Carolyn MacLeod CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bert CLA 2011-05-06 09:49:52 EDT
Build Identifier: M20110210-1200

Add support (recognition & code suggest) for (certain) WAI-ARIA attributes like role.

Reproducible: Always
Comment 1 Carolyn MacLeod CLA 2012-10-29 09:52:47 EDT
Why "limited" support? This is an important area. I was very surprised when I pasted an html snippet into the WTP editor and all of the ARIA was flagged as errors.

I am increasing the severity of this bug, and removing the word "limited" from the subject line. This should not just be viewed as an "enhancement". This is just as important as supporting HTML5.

Here is the ARIA spec: http://www.w3.org/TR/wai-aria/complete

The most important attributes are role and tabindex, but why limit support to just those?
Comment 2 Carolyn MacLeod CLA 2012-10-29 10:01:56 EDT
Created attachment 222926 [details]
Screen snap showing ARIA warnings

Here's a screen snapshot showing my pasted html snippet that shows warnings for all of the ARIA attributes. I was genuinely surprised that the IDE doesn't handle ARIA - it has been around for a long time. At first I thought maybe I had accidentally downloaded a very old version, but it is current:

Eclipse Java EE IDE for Web Developers.
Version: Juno Service Release 1
Build id: 20120920-0800
Comment 3 Nick Sandonato CLA 2012-10-30 14:36:44 EDT
Hi Carolyn,

We see this as a feature since it is a standalone specification and because of the features (like a new content model) that will need to be implemented in order to support this spec. We do not see this as being any less important because it's qualified as an enhancement. We would certainly like to include full support for ARIA, but for the purposes of triaging we have this as an enhancement to provide support for ARIA validation and content assist. I have increased the priority, though.
Comment 4 Carolyn MacLeod CLA 2012-10-30 14:45:08 EDT
Thanks, Nick!
Comment 5 Victor Rubezhny CLA 2014-05-29 09:50:35 EDT
The 'undefined' warning/error markers on WAI-ARIA attributes are fixed in Bug #434381. 

The patch for Bug #427969 (if applied) will add 'role' attribute to the content assist and validation as well as some other HTML 5 attributes.