[AMOS commit] MDL-68167 lib: Fix label for autocomplete selection/suggestion box Committed into Git: 2020-07-28 16:45 UTC

[AMOS commit] MDL-68167 lib: Fix label for autocomplete selection/suggestion box Committed into Git: 2020-07-28 16:45 UTC

by AMOS bot -
Number of replies: 0
Author: Shamim Rezaie
MDL-68167 lib: Fix label for autocomplete selection/suggestion box
The content of the autocomplete selection div is purged by javascript
so we have to move its label outside of it. aria-labeledby is the way
to go.

Each time the suggestion box is expanded, autocomplete js renders the
autocomplete suggestions template. So the label cannot be outside the
suggestions ul.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=b6d733dd4e67ced02266ced570c35f0a75783a8c
http://github.com/moodle/moodle/commit/b6d733dd4e67ced02266ced570c35f0a75783a8c

+ 4.0 en [suggestions,core_form]