[ 
https://issues.apache.org/jira/browse/WICKET-6753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052480#comment-17052480
 ] 

ASF subversion and git services commented on WICKET-6753:
---------------------------------------------------------

Commit bc1f28f542a0dc9667ce6d06f25e75aaa543b81e in wicket's branch 
refs/heads/master from Sven Meier
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=bc1f28f ]

WICKET-6753 dont set aria-labelledBy

aria-label would be correct but unnecessary, since aria-labelledby is already 
set to id of captionText


> res/modal.js using aria-labelledby where it should be using aria-label
> ----------------------------------------------------------------------
>
>                 Key: WICKET-6753
>                 URL: https://issues.apache.org/jira/browse/WICKET-6753
>             Project: Wicket
>          Issue Type: Bug
>          Components: ModalDialog, wicket-extensions
>    Affects Versions: 8.7.0
>            Reporter: Robert Murphy
>            Priority: Major
>         Attachments: modal.js
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> aria-labelledby attribute value should be the id of an element containing the 
> label for the element with the aria-labelledby attribute.  aria-label 
> attribute value contains the label for the element with the aria-label 
> attribute.  We got sued for ADA Compliance Errors.  The lawsuit cites the 
> Errors and Alerts generated by the WAVE tool (by WebAIM).
> The bug causes WAVE Error Broken ARIA reference.
> The fix:
> Instead of copying the title to the aria-labelledby attribute, don't use 
> aria-labelledby at all and instead copy the title to the aria-label attribute.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to