[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=dca6513b8a54e297b13ad56b8c96914edda3d47a
http://github.com/moodle/moodle/commit/dca6513b8a54e297b13ad56b8c96914edda3d47a

+ 3.9 en [suggestions,core_form]