6465 Commits

Author SHA1 Message Date
Sara Arjona
2ccd242538 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:26:25 +01:00
Andrew Nicols
a84a55bd45 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:33:06 +08:00
François Moreau
3776fbafb2 MDL-69762 core_contentbank: let users hide their content 2021-02-15 13:26:32 -05:00
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
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
Víctor Déniz
35a0bec31a Merge branch 'MDL-59782-master' of git://github.com/bmbrands/moodle 2021-02-02 09:36:19 +00: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
Bas Brands
12bc605457 MDL-59782 core_question: improve questionbank highlighting 2021-01-28 08:12:58 +01:00
Andrew Nicols
52d9024580 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:11 +08:00
Nadav Kavalerchik
75ceb0495a MDL-66932 theme/boost: Use LTR directionality to display user % grades 2021-01-20 09:27:29 +02:00
Peter Dias
ecb1e0dc18 MDL-56772 core: Update the picker styles for rtl langs 2021-01-20 14:05:23 +08:00
Sara Arjona
3810b293ad MDL-70438 contentbank: Add column to view mode for content uses 2021-01-19 16:08:03 +01:00
Jun Pataleta
62630bf781 Merge branch 'MDL-57552-master' of git://github.com/aanabit/moodle 2021-01-05 22:20:32 +08:00
Jun Pataleta
22295df424 Merge branch 'master-MDL-68792_v3' of https://github.com/golenkovm/moodle 2021-01-05 22:09:19 +08:00
Amaia Anabitarte
bafdfedf9d MDL-57552 core_course: Typo in view-combined class 2021-01-04 09:48:14 +01:00
Eloy Lafuente (stronk7)
4598041cf1 Merge branch 'MDL-70436-master' of git://github.com/bmbrands/moodle 2020-12-22 18:29:17 +01:00
Eloy Lafuente (stronk7)
663412626f Merge branch 'MDL-70386-master' of git://github.com/bmbrands/moodle 2020-12-22 18:21:02 +01:00
Mikhail Golenkov
8325c83b20 MDL-68792 theme_boost: Show the fake blocks on embedded layout. 2020-12-18 12:06:03 +11:00
Shamim Rezaie
1ca295c34f MDL-69301 theme_boost: Remove the special handling of Escape key 2020-12-10 15:05:11 +08:00
Bas Brands
250ff98be3 MDL-70386 theme_boost: quizes correctness badges 2020-12-09 18:07:10 +01:00
Bas Brands
105e6b5b5e MDL-70436 theme_boost: closebutton styles in moodle-dialog-fullscreen 2020-12-09 14:46:24 +01:00
Shamim Rezaie
4dfc4adfa1 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:18:01 +11:00
Shamim Rezaie
c8ea0c12d7 MDL-69301 core: Enhanced WAI-ARIA support for tab elements 2020-12-02 22:57:42 +11:00
Shamim Rezaie
baf68eae5e MDL-69301 theme_boost: convert aria.js to es6 module 2020-12-02 22:57:18 +11:00
Sara Arjona
2ae62e9a51 Merge branch 'MDL-69878-master' of git://github.com/bmbrands/moodle 2020-11-26 12:46:10 +01:00
sangnguyen2601
39652702f0 MDL-70094 Question: Technical info section expands if click help icon 2020-11-18 18:03:08 +07:00
Adrian Greeve
1691176799 Merge branch 'MDL-69453-master' of git://github.com/bmbrands/moodle 2020-11-12 11:53:49 +08:00
Andrew Nicols
ea77b43b4e Merge branch 'MDL-70067-master_theme_classic' of https://github.com/alexmorrisnz/moodle 2020-11-12 10:26:30 +08:00
Bas Brands
35bd8622f7 MDL-69878 core_message: always show message drawer close icon 2020-11-11 15:39:16 +01:00
Bas Brands
4d181cafa5 MDL-69453 core_form: improve form UI icons and alignment 2020-11-11 13:46:00 +01:00
Jake Dallimore
5365057493 Merge branch 'MDL-69841-master' of https://github.com/HuongNV13/moodle 2020-11-10 09:32:34 +08:00
Eloy Lafuente (stronk7)
b27a4e4573 Merge branch 'MDL-70100-master' of git://github.com/bmbrands/moodle into master 2020-11-04 22:39:24 +01:00
Víctor Déniz
d8c9475572 Merge branch 'MDL-68749-master-2' of git://github.com/mickhawkins/moodle 2020-11-04 15:17:03 +00:00
Michael Hawkins
fe60d58063 MDL-68749 theme: Fix bootstrap toggle switches in RTL layout
Co-authored-by: Bas Brands <bas@moodle.com>
2020-11-03 15:12:01 +08:00
Bas Brands
d64def4d53 MDL-70100 theme_boost: quiztimer zindex fix 2020-11-02 11:29:37 +00:00
Alexander
98ea30aac9 MDL-70067 theme_classic: Use col-12 as col-xs-12 was removed in BS4 2020-11-02 09:04:23 +13:00
Shamim Rezaie
29ad80e4ff MDL-68167 theme_boost: make focus outline accessible for autocompletes 2020-10-30 14:52:52 +11:00
Shamim Rezaie
b643c88682 MDL-68167 lib: Autocomplete selection to use listbox aria role
The aria-selected state cannot be used for the listitem role. The
autocomplete widget highly uses the aria-selected state internally.
2020-10-30 14:43:00 +11:00
Shamim Rezaie
2a02fba4bd Merge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle into MDL-69390-master-test 2020-10-30 14:37:25 +11:00
Huong Nguyen
3dcfb904b7 MDL-69841 Quiz: Review options 'Help' icons do not work correctly 2020-10-30 10:18:20 +07:00
Bas Brands
451bd40752 MDL-69390 theme_boost: dropdown menu accessibility
- display a dot before the active element
- use the active colour for the hover colour
2020-10-28 14:01:17 +01:00
Shamim Rezaie
96f57f803d MDL-69166 core_payment: some basic styling 2020-10-27 08:37:08 +11:00
Víctor Déniz
56bbd6d92e Merge branch 'MDL-68664-master' of git://github.com/lameze/moodle 2020-10-22 12:25:56 +01:00
Víctor Déniz
06fdc6aacf Merge branch 'MDL-69392-master' of git://github.com/junpataleta/moodle 2020-10-21 16:27:05 +01:00
Jun Pataleta
04d7c59e30 Merge branch 'MDL-69945-master' of git://github.com/lucaboesch/moodle 2020-10-21 16:03:20 +08:00
Jun Pataleta
3b7f63337e MDL-69392 theme_boost: Improve question colour contrast
* Lighten info container.
* Fix colour contrast for the question container by
  - Lightening the background a bit
  - Darkening the text colour a bit
  - Making sure the link colour has good colour contrast against the
  question text.
* Fix colour contrast for the comments container by
  - Lightening the text colour a bit
  - Darkening the link colour a bit for better colour contrast against
  the feedback text.
2020-10-21 14:11:13 +08:00
Jun Pataleta
73126a6767 MDL-69392 theme_classic: Darken red, blue and green colours
The current red, blue, and green colours achieve the minimum colour
contrast against a white background. However, when they're against
coloured background, text with these colours will easily fail the
4.5:1 contrast ratio requirement for Level AA.
The updated colours now have the following contrast ratio against a
white background:
* Blue  - #0f6fc5 (5.12:1, from 4.58:1)
* Green - #357a32 (5.27:1, from 4.63:1)
* Red   - #ca3120 (5.29:1, from 4.59:1)
2020-10-21 14:11:07 +08:00
Jun Pataleta
df18b4eebf MDL-69392 theme_boost: Darken red, blue and green colours
The current red, blue, and green colours achieve the minimum colour
contrast against a white background. However, when they're against
coloured background, text with these colours will easily fail the
4.5:1 contrast ratio requirement for Level AA.
The updated colours now have the following contrast ratio against a
white background:
* Blue  - #0f6fc5 (5.12:1, from 4.58:1)
* Green - #357a32 (5.27:1, from 4.63:1)
* Red   - #ca3120 (5.29:1, from 4.59:1)
2020-10-21 14:10:31 +08:00