Commit Graph

1449 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
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 22295df424 Merge branch 'master-MDL-68792_v3' of https://github.com/golenkovm/moodle 2021-01-05 22:09:19 +08: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
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
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 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
Luca Bösch 97a37413b9 MDL-65448 block_site_main_menu: Restyle moving. 2020-10-20 17:23:48 +02:00
Simey Lameze 1db3f6687c MDL-68664 theme: remove right margin from form-inline class 2020-10-20 08:23:24 +08:00
Luca Bösch bdc639de03 MDL-65448 block_social_activities: Restyle moving. 2020-10-19 09:43:42 +02:00
Luca Bösch 60b2431798 MDL-65448 core_course: Restyle non-JS activity moving. 2020-10-19 09:33:19 +02:00
Luca Bösch 96d54e2ac9 MDL-65448 gradebook: Remove erraneous dev .movehere class left over. 2020-10-19 09:14:30 +02:00
Luca Bösch 71f05ec9cb MDL-65448 block_site_main_menu: Restyle moving. 2020-10-16 14:50:21 +02:00
Luca Bösch d1c884a56a MDL-65448 block_social_activities: Restyle moving. 2020-10-16 14:50:21 +02:00
Luca Bösch 32be54d369 MDL-69945 core_calendar: let circles appear as circles 2020-10-16 14:24:09 +02:00