You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johannes Renoth (Jira)" <ji...@apache.org> on 2024/08/02 09:08:00 UTC
[jira] [Updated] (WICKET-7120) Improve Accessibility of AutoCompleteBehavior
[ https://issues.apache.org/jira/browse/WICKET-7120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Renoth updated WICKET-7120:
------------------------------------
Summary: Improve Accessibility of AutoCompleteBehavior (was: Improve Accessibility of AutocompleteBehavior)
> Improve Accessibility of AutoCompleteBehavior
> ---------------------------------------------
>
> Key: WICKET-7120
> URL: https://issues.apache.org/jira/browse/WICKET-7120
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Reporter: Johannes Renoth
> Priority: Minor
>
> AutoCompleteBehavior does not generate Markup that is read correctly by a screenreader.
> This configuration will work with NVDA 2024.2 and the latest Firefox
> {code:java}
> input must have
> role="combobox"
> aria-expanded="true/false"
> autocomplete="off"
> aria-autocomplete="list"
> aria-controls=$ID
> ul must have
> role="listbox"
> id=$ID
> li must have
> role="option"
> aria-posinset: Item Position
> aria-setsize: length of List
> aria-selected: true when selected / false when not
> tabindex="-1" {code}
> This ensures that the Options are read correctly by a screenreader when channing the selection via keyboard (arrow up/down)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)