Commit graph

6489 commits

Author SHA1 Message Date
Dongsheng Cai
a246699a2b MDL-70846 accessibility: update tree attributes to pass a11y check
- Move aria-* atrributes from <p> to <li>
- Move "role" attribute from <p> to <li>
- Update behat tests

Based on reference implementation from:
- https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html
- https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees
2021-05-28 12:49:56 +10:00
Eloy Lafuente (stronk7)
71d0cfefab MDL-71583 versions: bump all versions and requires near release
version = 2021051700 release version
requires= 2021051100 current rc1 (week7roll1) version

Note that, because we are under parallel development period,
this is being done in the branch that is going to be released
(MOODLE_311_STABLE already existing) for Moodle 3.11.0 and
not in master, that is the one getting the bump under normal
(non-parallel) periods.
2021-05-11 18:50:34 +02:00
Thong Bui
6af383f5b4 MDL-71060 Questions: Duplicates 'Current category' text. 2021-05-10 23:25:12 +01:00
Simey Lameze
57c8fff41a MDL-71454 theme: fix paddings for label resource 2021-05-03 14:35:56 +08:00
Sara Arjona
89c919813e Merge branch 'MDL-71403-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-27 16:02:02 +02:00
Víctor Déniz
5cb1ae3c07 Merge branch 'MDL-71003-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-27 00:36:28 +01:00
Paul Holden
10d853a891 MDL-71403 message: Bootstrap controls for message preferences.
Replicates changes made to notification preferences in e41b3485.
The templates for each are similar enough than one can be used
from the other. Remove redundant styles for previous controls.
2021-04-25 16:43:11 +01:00
Sara Arjona
1e0742f0a4 Merge branch 'MDL-57831-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-22 18:13:10 +02:00
Paul Holden
a760a65c5e MDL-57831 theme_boost: accessibility update for message preferences.
The preferences table did not meet accessibility guidelines regarding
colour contrast between hovered rows and the disabled switch
elements.

Ensure white background is used for all table cells, and replace the
highlighted columns used to differentiate processors with borders.
2021-04-21 21:50:51 +01:00
Eloy Lafuente (stronk7)
e5441b439e MDL-71365 grunt: fix boost ignores order and missing LF @ EOF 2021-04-18 00:13:12 +02:00
Sara Arjona
dc77f13dab MDL-69331 core_h5p: Add enabled field to libraries
The "enabled" field has been added to the H5P libraries to let
admins decide whether a library should be used or not in the site.
2021-04-15 09:31:36 +02:00
Andrew Nicols
dd62d97a1a Merge branch 'MDL-70311-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE 2021-04-15 09:19:50 +08:00
Víctor Déniz
c7e2a997a8 Merge branch 'MDL-71089-311' of git://github.com/roland04/moodle into MOODLE_311_STABLE 2021-04-13 19:40:09 +01:00
Mikel Martín
b27cb56296 MDL-71089 theme_boost: Add styles for different toast types 2021-04-13 16:29:10 +02:00
Jun Pataleta
9ec5602f7b MDL-70821 course: Render activity information output component in course
Includes fixup from Shamim Rezaie <shamim@moodle.com>
2021-04-12 12:29:23 +08:00
Paul Holden
28da12e05c MDL-71003 user: fix alignment of autocomplete participant filters. 2021-04-04 23:21:20 +01:00
Jun Pataleta
cafe2f95ee MDL-70817 core_course: Create an activity information output component
The activity information output component displays information about
an activity module that can contain:
1. Activity dates
2. Completion information
   a. A manual completion button; or
   b. A list of automatic completion conditions and their statuses.

This patch also includes a new JS module called
core_course/manual_completion_toggle for toggling the
completion state of activities that support manual completion.
2021-04-02 21:56:22 +08:00
Andrew Nicols
93ad6a244e Merge branch 'MDL-69036-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-23 09:52:02 +08:00
Ilya Tregubov
6fb84d6003 MDL-70311 theme_boost: upgrade bootstrap to version 4.6.0 2021-03-17 12:27:19 +02:00
Amaia Anabitarte
c2c3148664 MDL-70978 core_contentbank: Increasing contrast for unlisted content 2021-03-12 12:49:20 +01:00
Eloy Lafuente (stronk7)
ca6b26fae7 Merge branch 'MDL-70789-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-10 23:52:46 +01:00
Paul Holden
1fc653d7e0 MDL-69036 theme_boost: consistent table row hovering for links.
When hovering over table rows with the `dimmed_text` class we
should consistently set the text/link colour.

Co-Authored-By: Mikel Martín <mikel@moodle.com>
2021-03-09 16:22:33 +00:00
Jun Pataleta
05b4006146 Merge branch 'MDL-69883-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-03 14:34:55 +08:00
Paul Holden
7aee6e2fb2 MDL-69883 message: fix lazy loading of conversations.
Set max-height on each container section rather than the container
itself, so that each can respond to the scrollBottom event within
the lazy loading module (which handles the overflow itself).
2021-02-24 22:01:34 +00:00
Sara Arjona
2ac767233a MDL-67974 core_badges: Recovered expired stamp
Expired stamp icon displayed over the badge images has been added
again to CSS (it was lost at any point).
2021-02-23 15:32:41 +01:00
Andrew Nicols
ba42ad4aa1 MDL-64554 user: Fix use of Private files page on classic
The "Private files" link does not exist in the site navigation when
using the classic theme, so it is not possible to test the dedicated
page via Behat at this time.
2021-02-19 09:34:40 +08:00
François Moreau
e8c98e17e6 MDL-69762 core_contentbank: let users hide their content 2021-02-15 13:49:57 -05:00
Paul Holden
7d7259f1b6 MDL-70789 theme_boost: fix double click on drawer hiding content.
If the drawer toggle button was clicked in quick succession to close
and then re-open, then the delayed Aria.hide method would be called
which hid the drawer content when it finished opening.
2021-02-11 21:45:49 +00:00
Shamim Rezaie
1ac3fb7e0e 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:00 +11:00
Shamim Rezaie
a53037f5c6 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:00 +11:00
Andrew Nicols
eeec65dbb5 Merge branch 'MDL-56772-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-02-03 10:57:35 +08:00
Andrew Nicols
803b2374aa Merge branch 'MDL-66932_M311' of https://github.com/nadavkav/moodle into MOODLE_311_STABLE 2021-02-03 10:21:44 +08:00
Víctor Déniz
91cfc3ce08 Merge branch 'MDL-59782-311' of git://github.com/bmbrands/moodle into MOODLE_311_STABLE 2021-02-02 09:36:02 +00:00
Jun Pataleta
03d6acbb57 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 14:22:15 +08:00
Peter Dias
76f3835477 MDL-56772 core: Update the picker styles for rtl langs 2021-01-25 11:36:32 +08:00
Andrew Nicols
6704b2b5a4 MDL-66979 behat: Pad messaging drawer
This works around an issue highlighted by MDL-70411 whereby some of the
messaging links are covered by the scrollbar in Firefox on MacOS.
2021-01-22 14:52:18 +08:00
Nadav Kavalerchik
99b1551e54 MDL-66932 theme/boost: Use LTR directionality to display user % grades 2021-01-20 09:29:38 +02:00
Sara Arjona
92674c614a MDL-70438 contentbank: Add column to view mode for content uses 2021-01-19 16:08:50 +01:00
Bas Brands
a1ba936d59 MDL-59782 core_question: improve questionbank highlighting 2021-01-18 09:13:07 +01:00
Jun Pataleta
b9ca4b0e7e Merge branch 'MDL-57552-311' of git://github.com/aanabit/moodle into MOODLE_311_STABLE 2021-01-05 22:20:24 +08:00
Jun Pataleta
ff06987784 Merge branch 'MOODLE_311_MDL-68792_v3' of https://github.com/golenkovm/moodle into MOODLE_311_STABLE 2021-01-05 22:09:08 +08:00
Bas Brands
fe68109683 MDL-70436 theme_boost: closebutton styles in moodle-dialog-fullscreen 2020-12-22 18:29:46 +01:00
Bas Brands
c4f8590a9d MDL-70386 theme_boost: quizes correctness badges 2020-12-22 18:23:13 +01:00
Mikhail Golenkov
64891ca0c7 MDL-68792 theme_boost: Show the fake blocks on embedded layout. 2020-12-18 12:07:26 +11:00
Amaia Anabitarte
c94cb31678 MDL-57552 core_course: Typo in view-combined class 2020-12-17 17:12:25 +01:00
Shamim Rezaie
11987c1554 MDL-69301 theme_boost: Remove the special handling of Escape key 2020-12-10 15:02:33 +08:00
Shamim Rezaie
1320da3240 MDL-69301 theme_boost: Use event.key in aria.js
Both event.which and event.keyCode are deprecated. So
We switched to using event.key. We can only do so now
because IE is no longer supported.
2020-12-03 04:21:53 +11:00
Shamim Rezaie
c4430d6a66 MDL-69301 core: Enhanced WAI-ARIA support for tab elements 2020-12-03 04:21:53 +11:00
Shamim Rezaie
bede777bed MDL-69301 theme_boost: convert aria.js to es6 module 2020-12-03 04:21:53 +11:00
Bas Brands
2d81fc6f65 MDL-69878 core_message: always show message drawer close icon 2020-11-26 12:51:52 +01:00