1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-27 02:53:29 +01:00

113861 Commits

Author SHA1 Message Date
Jun Pataleta
da52f35637
MDL-70829 tool_lp: Add empty alt text for decorative image
* The decorative image for the course modules in the user competency
summary modal is missing an empty alt text.
2024-04-12 11:21:03 +08:00
Jun Pataleta
49a37d198e
MDL-70829 theme_boost: Make context header icons decorative
The non-empty alt text for the icons of the context header buttons like
the "Message" and the "Add contact" buttons cause redundant information
to be read twice by screen readers when the buttons are rendered with
the icon and the button name. The icons need to be set as decorative by
setting an empty alt text for them.
* The presentation role is also unnecessary.
* The alt text is needed when the button gets rendered without the
button name text.
2024-04-12 11:21:03 +08:00
Andrew Nicols
dbb8155b15
Merge branch 'MDL-78902' of https://github.com/timhunt/moodle 2024-04-12 11:18:28 +08:00
Huong Nguyen
9bb1463024
Merge branch 'MDL-81320' of https://github.com/paulholden/moodle 2024-04-12 10:11:12 +07:00
Jun Pataleta
b353535c0e
MDL-70829 core_search: Mark up decorative image properly
* An empty alt text is enough for decorative images. There's no need
  to set a presentation role.
2024-04-12 10:42:11 +08:00
Jun Pataleta
0234499035
MDL-70829 enrol_manual: Mark up decorative image properly
* An empty alt text is enough for decorative images. There's no need
  to set a presentation role.
2024-04-12 10:42:11 +08:00
Jun Pataleta
013d68a7ad
MDL-70829 mod_workshop: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
2024-04-12 10:42:11 +08:00
Jun Pataleta
020756e0f1
MDL-70829 mod_quiz: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 10:42:11 +08:00
Jun Pataleta
04ec43be5e
MDL-70829 mod_data: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 10:42:10 +08:00
Jun Pataleta
91837d0553
MDL-70829 course: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes:
  - block_starredcourses uses the core_course/no-courses template
  - core_completion tests changes in core_course/activity instance and
    core_course/editdefaultcompletion
2024-04-12 10:42:10 +08:00
Jun Pataleta
eb38033024
MDL-70829 block_recentlyaccesseditems: Mark up decorative image properly
* The zero state image is purely decorative so there's no need to
set a non-empty alt text for it.
* The presentation role is also unnecessary for decorative image with
empty alt.
* Accessibility Behat tests added to cover changes
2024-04-12 10:42:10 +08:00
Jun Pataleta
cfcf79499b
MDL-70829 block_myoverview: Mark up decorative image properly
* The zero state image is purely decorative so there's no need to
set a non-empty alt text for it.
* The presentation role is also unnecessary for decorative image with
empty alt.
* Accessibility Behat tests added to cover changes
2024-04-12 10:42:10 +08:00
Jun Pataleta
31b4e4c7a0
MDL-70829 tool_lp: Remove presentation role for decorative images
* Behat tests in report_competency added to test the user summary
display in the user competency summary modal.
2024-04-12 10:42:10 +08:00
Jun Pataleta
5289581d06
MDL-70829 core: Remove presentation role for decorative images
* An image with non-empty alt text should not have a presentation role.
* An empty alt attribute is sufficient for decorative images. No need to
add a presentation role for them.
* Additionally, if there is already text that is present for an image,
there's no need to add an alt text with the same text. Such images are
decorative and should just have an empty alt text.
2024-04-12 10:42:09 +08:00
Huong Nguyen
eea6ff96e0
Merge branch 'MDL-81256' of https://github.com/marinaglancy/moodle 2024-04-12 08:58:03 +07:00
Shamim Rezaie
363c593cbb Merge branch 'MDL-81306-main' of https://github.com/andrewnicols/moodle 2024-04-12 11:45:25 +10:00
Huong Nguyen
64780d8f4c
Merge branch 'MDL-81316-main' of https://github.com/andrewnicols/moodle 2024-04-12 08:36:29 +07:00
Huong Nguyen
c9a26138a2
Merge branch 'MDL-81420-main' of https://github.com/sarjona/moodle 2024-04-12 08:33:47 +07:00
Andrew Nicols
1d25d54e2c
Merge branch 'MDL-74610-mysql-fix' of https://github.com/timhunt/moodle 2024-04-12 08:57:17 +08:00
Ilya Tregubov
1addf36711 Merge branch 'MDL-80160-main-siteadminsconfigphp' of https://github.com/mudrd8mz/moodle 2024-04-12 08:47:59 +08:00
Shamim Rezaie
3b1874aba7 Merge branch 'MDL-81482' of https://github.com/AnupamaSarjoshi/moodle 2024-04-12 09:30:38 +10:00
Shamim Rezaie
54561aacec Merge branch 'MDL-80203-main' of https://github.com/sarjona/moodle 2024-04-12 09:23:05 +10:00
Tomo Tsuyuki
f119c5a3fe MDL-78902 quiz restore: fix restore of 3.x backups with random questions
... where the random questions come from the quiz module context.

Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk>
2024-04-11 22:09:28 +01:00
Sara Arjona
efe4caa8b2
Merge branch 'MDL-81472' of https://github.com/paulholden/moodle 2024-04-11 17:35:38 +02:00
Andrew Nicols
d26c40db26
Merge branch 'MDL-81114' of https://github.com/timhunt/moodle 2024-04-11 23:25:22 +08:00
Tim Hunt
ee80a41dd5 MDL-74610 quiz: fix grade items query for MySQL 2024-04-11 13:55:19 +01:00
Sara Arjona
54960f8e15
Merge branch 'MDL-81383' of https://github.com/timhunt/moodle 2024-04-11 12:49:29 +02:00
Tim Hunt
0b8c6bd64d MDL-81383 questions: get_filtered_questions order should be predictable
This method supports $limit and $offset paramters. The query must have
a predictable ORDER BY for that to make sense.
2024-04-11 10:25:50 +01:00
Sara Arjona
e8aee4a120
Merge branch 'MDL-80195' of https://github.com/pedrojordao/moodle 2024-04-11 11:03:21 +02:00
Mihail Geshoski
5c970e790e MDL-81500 tool_lp: Fix misaligned search button in competency picker 2024-04-11 16:43:09 +08:00
Mark Johnson
337a0ee705
MDL-81192 sessions: Prevent false positive session change errors
If $CFG->enable_read_only_sessions_debug was not enabled, debugging could be
enabled part-way through a request when restart_with_write_lock was
called. This meant that a diff between the initial and final session
would be made during write_close(), although the intial session state
was never captured. This generated false positives in the logs, and it
thought any variable set in the session was a change from the original
value.

This ensures that debugging is enabled before the debug flag is allowed
to change, preventing false positives.
2024-04-11 08:55:11 +01:00
Ilya Tregubov
c9eab29d37 Merge branch 'MDL-81480-main' of https://github.com/meirzamoodle/moodle 2024-04-11 15:48:07 +08:00
Andrew Nicols
64aedb9b24
MDL-77967 core_user: Coding style fixes in tests 2024-04-11 14:00:46 +08:00
Andrew Nicols
b64dff686e
Merge branch 'MDL-77967-main' of https://github.com/rmady/moodle 2024-04-11 13:56:54 +08:00
Huong Nguyen
3ec5b464d2
Merge branch 'MDL-81362-master' of https://github.com/ssj365/moodle 2024-04-11 12:49:32 +08:00
Huong Nguyen
7e2da937d5
Merge branch 'MDL-81327-main' of https://github.com/laurentdavid/moodle 2024-04-11 12:49:32 +08:00
Andrew Nicols
4c4594e2ac
Merge branch 'MDL-81227' of https://github.com/timhunt/moodle 2024-04-11 12:49:31 +08:00
Andrew Nicols
1ec7174072
MDL-80985 core: Whitespace fixes 2024-04-11 12:49:27 +08:00
Andrew Nicols
5c16854483
Merge branch 'MDL-80985-add-purge-course-caches-option-main' of https://github.com/jwcatau/moodle 2024-04-11 10:41:13 +08:00
Ilya Tregubov
160277d17c Merge branch 'MDL-81491-main' of https://github.com/snake/moodle 2024-04-11 09:52:04 +08:00
Huong Nguyen
ef2b329fef
Merge branch 'MDL-81476-main' of https://github.com/stevandoMoodle/moodle 2024-04-11 08:50:30 +07:00
Ilya Tregubov
dd364a04a0 Merge branch 'MDL-81494-main' of https://github.com/HuongNV13/moodle 2024-04-11 09:19:54 +08:00
Shamiso.Jaravaza
b4f9582938 MDL-81362 mod_bigbluebuttonbn: Fix content type 2024-04-10 12:12:00 -06:00
Sara Arjona
c42ca73e11
Merge branch 'MDL-74977-main' of https://github.com/HuongNV13/moodle 2024-04-10 15:50:50 +02:00
Paul Holden
17fd4fe8f5
Merge branch 'MDL-81489' of https://github.com/lostrogit/moodle into main 2024-04-10 14:03:10 +01:00
Paul Holden
ea81c5457d
Merge branch 'MDL-81488' of https://github.com/dravek/moodle into main 2024-04-10 13:57:09 +01:00
Huong Nguyen
6d40f11806
MDL-74977 core_courseformat: add expanded section update actions
This also fix the Random "Course content preferences" Behat failure
2024-04-10 18:11:00 +07:00
meirzamoodle
c9cb89323c MDL-81480 core: Sets user-level session storage functions
Also added @runInSeparateProcess on each session Redis cluster test to let the test run
in a separate process to avoid the error "the headers are not already sent" by PHPUnit.
2024-04-10 17:27:20 +07:00
Sara Arjona
fa7eece0f3
Merge branch 'MDL-80633-main' of https://github.com/laurentdavid/moodle 2024-04-10 12:21:41 +02:00
Huong Nguyen
6012fa0af6
MDL-81494 adhoc_task: Added missing space for query condition 2024-04-10 17:15:55 +07:00