Skip to content
Snippets Groups Projects
Commit 289315b4 authored by Claas Kazzer's avatar Claas Kazzer Committed by Robert Lange
Browse files

refs #19938 [finc] BARF aria in tabs

* adds initial changes to initially active tab in view.phtml
* cleans up previous misses
* set aria-selected for tab control on initial load
* add sr-only hint on control tabs
* info that content has to be loaded by click / enter
* reverts changes to using li + a

co-authored by: Robert Lange <robert.lange@uni-leipzig.de>
* set aria-hidden for tab content
* use active tab text for aria-labelledby on first load without ajax
* copy record.js from bootstrap
** set aria-selected tab controls by jquery
** add role and aria-label to new tab pane in record.js::getNewRecordTab
** only set value for aria-controls onload in view.phtml for active tab
** set value for aria-controls when tab is clicked / tab loaded by ajax
** add focus on content after click on control
** info that content has to be loaded by click / enter

* remove console log from bootstrap-accessibility-en.min.js
parent 5e508e72
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment