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
Showing
- local/languages/de.ini 3 additions, 1 deletionlocal/languages/de.ini
- local/languages/en.ini 3 additions, 2 deletionslocal/languages/en.ini
- themes/finc-accessibility/js/record.js 323 additions, 0 deletionsthemes/finc-accessibility/js/record.js
- themes/finc-accessibility/js/vendor/bootstrap-accessibility-en.min.js 0 additions, 1 deletion...accessibility/js/vendor/bootstrap-accessibility-en.min.js
- themes/finc-accessibility/scss/compiled.scss 6 additions, 0 deletionsthemes/finc-accessibility/scss/compiled.scss
- themes/finc/templates/record/view.phtml 19 additions, 6 deletionsthemes/finc/templates/record/view.phtml
Please register or sign in to comment