[
https://issues.apache.org/jira/browse/WICKET-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lucas updated WICKET-4472:
--------------------------
Description:
For more accessible modal windows it is desirable that the outer DIV element
has a 'dialog' role defined and an 'aria-labelledBy' attribute pointing to the
modal title text. This will help assistive technologies in properly alerting
people with disabilities (PwD) users about the modal windows that wicket
displays.
Until I get familiar/ready for OSS contributions, I leave you a code snippet
for modal.js (around line 1170)
<div class=\"wicket-modal\" id=\""+idWindow+"\" role=\"dialog\"
aria-labelledBy=\""+idCaptionText+""\" style=\"top: 10px; left: 10px; width:
100px;\">
was:For more accessible modal windows it is desirable that the outer DIV
element has a 'dialog' role defined and an 'aria-labelledBy' attribute pointing
to the modal title text. This will help assistive technologies in properly
alerting people with disabilities (PwD) users about the modal windows that
wicket displays.
> Modal window accessibility - add role and aria attributes to outer div for
> assitive technologies
> ------------------------------------------------------------------------------------------------
>
> Key: WICKET-4472
> URL: https://issues.apache.org/jira/browse/WICKET-4472
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Reporter: Lucas
> Priority: Minor
> Labels: accessibility, aria, dialog
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> For more accessible modal windows it is desirable that the outer DIV element
> has a 'dialog' role defined and an 'aria-labelledBy' attribute pointing to
> the modal title text. This will help assistive technologies in properly
> alerting people with disabilities (PwD) users about the modal windows that
> wicket displays.
> Until I get familiar/ready for OSS contributions, I leave you a code snippet
> for modal.js (around line 1170)
> <div class=\"wicket-modal\" id=\""+idWindow+"\" role=\"dialog\"
> aria-labelledBy=\""+idCaptionText+""\" style=\"top: 10px; left: 10px; width:
> 100px;\">
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira