99974 Commits

Author SHA1 Message Date
Shamim Rezaie
805df4f846 MDL-70173 theme_boost: Fix empty link issue on the "Go to top" button
On behat, we have to use a more specific test step if we are looking
for a "Go" button on a modal. The reason is that the html of the modal
content is put after the html of the "Go to top" button, so behat
may find the "Go to top" button if we just look for "Go".
2021-02-09 16:16:09 +11:00
Shamim Rezaie
97b0401443 MDL-70173 theme_boost: Increase the size of notification counter
WAVE considers any text with the size of 10px or below really small.
Increasing the font size of the navbar counter by 1px should not make a
big negative impact on the design, but improves accessibility.
2021-02-09 16:16:09 +11:00
Shamim Rezaie
c0e3a4108c MDL-70173 output: All pages should have a heading
In MDL-63040, it was decided that the page header for the dashboad page
should be removed.
However, Based on Success Criteria 1.3.1 and 2.4.6 from the WebAIM's
WCAG 2 Checklist, all pages should have an <h1> element.
So I put an sr-only heading on the dashboard and all other pages, where
no page header is shown.
2021-02-09 16:16:09 +11:00
Shamim Rezaie
3a9fa051c3 MDL-70173 dashboard: ARIA role presentation conflicted the empty alt
The markup <img role="presentation" alt="alt text"> is contradictory.

According to https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/presentation/PresentationRoleExamples.html
 It is recommended that authors instead use empty alt text (alt="")
 where they use role="presentation".
2021-02-09 16:16:09 +11:00
Shamim Rezaie
a6578dd64f MDL-70173 message: Fix empty link 2021-02-09 16:16:09 +11:00
Shamim Rezaie
b0b3a53521 MDL-70173 output: use an empty alt to hide user pic from screen readers
There is no need to use WAI-ARIA to hide images from screen readers.
See https://www.w3.org/WAI/tutorials/images/decorative/
2021-02-09 16:16:09 +11:00
Sara Arjona
4e398ff3f7 weekly release 4.0dev 2021-02-04 14:56:10 +01:00
Sara Arjona
9fa917be61 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-02-04 14:56:07 +01:00
Andrew Nicols
6995888454 Merge branch 'MDL-69748-master' of git://github.com/rezaies/moodle 2021-02-04 11:51:57 +08:00
Shamim Rezaie
a321181fe6 MDL-69748 core: Fix hideif issue with array elements
Changed the element selector to get all array elements,
whether named or unnamed. The previus selector was only
working for elements that thir names were like name="something[]".
It was not working for name="something[a]" elements.
2021-02-04 14:37:40 +11:00
Andrew Nicols
0377b0f9fa Merge branch 'MDL-64866-master' of git://github.com/ilyatregubov/moodle 2021-02-04 11:37:01 +08:00
Andrew Nicols
031509861b Merge branch 'MDL-70579' of git://github.com/paulholden/moodle 2021-02-04 09:28:22 +08:00
Andrew Nicols
84872802ce Merge branch 'MDL-70632' of git://github.com/paulholden/moodle 2021-02-04 09:25:25 +08:00
AMOS bot
1a49bc4999 Automatically generated installer lang files 2021-02-04 00:07:54 +00:00
Eloy Lafuente (stronk7)
b74beab57c MDL-70741 capability overview: missing whitespace after placeholder 2021-02-04 00:01:31 +01:00
Sara Arjona
407133af76 Merge branch 'MDL-70315' of git://github.com/paulholden/moodle 2021-02-03 16:04:16 +01:00
Sara Arjona
36f4cfc071 Merge branch 'MDL-70705-master' of git://github.com/lucaboesch/moodle 2021-02-03 15:33:02 +01:00
Sara Arjona
1e5a862c93 Merge branch 'MDL-70316-master' of git://github.com/mihailges/moodle 2021-02-03 15:29:23 +01:00
Luca Bösch
0e9680d64a MDL-70705 block_blog_recent: support multilang blog entry titles 2021-02-03 15:14:46 +01:00
Sara Arjona
655a682794 Merge branch 'MDL-70741' of https://github.com/timhunt/moodle 2021-02-03 14:49:36 +01:00
Eloy Lafuente (stronk7)
3d276111e1 Merge branch 'MDL-70711-master' of git://github.com/kordan/moodle 2021-02-03 13:03:50 +01:00
Sara Arjona
09cfed9186 Merge branch 'MDL-70439-master' of https://github.com/DinhHien0307/moodle 2021-02-03 13:03:02 +01:00
Sara Arjona
3abda98a2d Merge branch 'MDL-70163' of git://github.com/paulholden/moodle 2021-02-03 12:25:28 +01:00
Sara Arjona
e63081f68d Merge branch 'MDL-70634-master' of git://github.com/ferranrecio/moodle 2021-02-03 11:34:05 +01:00
Sara Arjona
7fde34ad55 Merge branch 'MDL-70535' of git://github.com/paulholden/moodle 2021-02-03 11:19:14 +01:00
Paul Holden
3f36a7da98 MDL-70632 tool_langimport: search for available language packs. 2021-02-03 10:03:37 +00:00
Sara Arjona
6d0b97a176 Merge branch 'MDL-67959-master-2' of git://github.com/junpataleta/moodle 2021-02-03 10:50:29 +01:00
Sara Arjona
a35c197a4a Merge branch 'MDL-66769-master' of git://github.com/ilyatregubov/moodle 2021-02-03 09:32:30 +01:00
Ilya Tregubov
dde8a5b62c MDL-66769 core_h5p: Clean up orphaned h5p records task. 2021-02-03 10:10:30 +02:00
Sara Arjona
a50802c68b Merge branch 'MDL-70621-master' of git://github.com/lucaboesch/moodle 2021-02-03 09:02:45 +01:00
Sara Arjona
4d5c3c3914 Merge branch 'MDL-68970' of https://github.com/timhunt/moodle 2021-02-03 08:51:11 +01:00
Luca Bösch
f37dbcc15b MDL-70621 mod_glossary: use glossary rsstype string. 2021-02-03 08:33:54 +01:00
Andrew Nicols
f979519ff6 Merge branch 'MDL-56772-master' of git://github.com/peterRd/moodle 2021-02-03 10:26:26 +08:00
Andrew Nicols
5b6063e226 Merge branch 'MDL-66932_master' of https://github.com/nadavkav/moodle 2021-02-03 10:06:32 +08:00
Andrew Nicols
83c148971a Merge branch 'MDL-68893-master' of git://github.com/lucaboesch/moodle 2021-02-03 09:40:36 +08:00
Andrew Nicols
4364244970 Merge branch 'MDL-68958-master' of git://github.com/peterRd/moodle 2021-02-03 09:30:11 +08:00
Andrew Nicols
71b232e23a Merge branch 'MDL-70339-master' of git://github.com/peterRd/moodle 2021-02-03 08:54:31 +08:00
Andrew Nicols
a35c7f5dce Merge branch 'MDL-70583-cli-progress' of https://github.com/brendanheywood/moodle 2021-02-03 08:27:05 +08:00
Brendan Heywood
ded82b7f5b MDL-70583 cli: Allow progress bars to be rendered in cli scripts 2021-02-02 22:07:14 +11:00
Sara Arjona
a00be13f7d Merge branch 'MDL-70309-master' of git://github.com/ferranrecio/moodle 2021-02-02 10:44:40 +01:00
Víctor Déniz
35a0bec31a Merge branch 'MDL-59782-master' of git://github.com/bmbrands/moodle 2021-02-02 09:36:19 +00:00
Andrew Nicols
1432180138 Merge branch 'MDL-70304-master' of git://github.com/ilyatregubov/moodle 2021-02-02 15:31:52 +08:00
Sara Arjona
d0ff6939bb Merge branch 'MDL-70574' of https://github.com/timhunt/moodle 2021-02-02 08:20:17 +01:00
Sara Arjona
f756d2afbe Merge branch 'MDL-70288-master-2' of git://github.com/junpataleta/moodle 2021-02-02 07:59:28 +01:00
Ilya Tregubov
e174f19db6 MDL-70304 core: updated adapter.js to 7.4.0 2021-02-02 08:58:30 +02:00
Jun Pataleta
2961feb71c MDL-70288 qtype: Remove unnecessary empty label string
* When a label is passed to an (advanced) checkbox and no text
  was provided, the label will be displayed on the right of the the
  checkbox element. So there's no point in passing an empty string for
  the label just to render the text to the right of the checkbox.
2021-02-02 13:53:05 +08:00
Jun Pataleta
793aa03598 MDL-70288 mod_lti: Remove unnecessary empty label string
* When a label is passed to an (advanced) checkbox and no text
  was provided, the label will be displayed on the right of the the
  checkbox element. So there's no point in passing an empty string for
  the label just to render the text to the right of the checkbox.
2021-02-02 13:53:05 +08:00
Jun Pataleta
e3457dc4aa MDL-70288 core: Remove duplicate labels for checkbox elements
* If there's a label, the text will serve as the description of  the
element.
2021-02-02 13:11:58 +08:00
Jun Pataleta
da237792ec MDL-70288 theme_boost: Manage aria-describedby on form validation
* The aria-describedby attribute can be a list of element IDs that
describe the element. On form validation, the ID of the error message
container is added to this attribute which may already be containing
another ID. So we need to properly add/remove the error message ID
so that we don't delete any existing ID(s) in the aria-describedby
attribute during form validation.
2021-02-02 13:11:58 +08:00
Eloy Lafuente (stronk7)
43b36f6d68 Merge branch 'MDL-46256' of https://github.com/timhunt/moodle 2021-02-01 23:20:01 +01:00