Andrew Nicols
9cba40c410
Merge branch 'MDL-71965-master' of git://github.com/bmbrands/moodle
2021-10-11 08:06:43 +08:00
Eloy Lafuente (stronk7)
b662f299f4
Merge branch 'MDL-72454-master' of git://github.com/HuongNV13/moodle
2021-10-07 22:31:46 +02:00
Bas Brands
57581a1980
MDL-72278 theme_boost: open drawer with fake blocks on first visit
2021-10-07 16:14:37 +02:00
Huong Nguyen
f081ebeb4b
MDL-72454 Themes: Removal of back to top link
2021-10-07 14:32:27 +07:00
Bas Brands
d1b9f7d1f1
MDL-71965 theme_boost: move footer content in popover
2021-10-06 11:32:08 +02:00
Bas Brands
2092500f8a
MDL-72361 theme_boost: page scroll issue on drawer close
2021-08-19 09:27:23 +02:00
Bas Brands
4fa713b0d4
MDL-71456 theme_boost: drawers for blocks and the course index
2021-07-14 11:49:57 +02:00
Andrew Nicols
4f422785c6
MDL-71113 javascript: Improve basic JS Documentation
2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057
MDL-71113 js: Fix all jsdoc warnings
2021-06-18 09:38:05 +08:00
Andrew Nicols
acd9d9823b
MDL-70990 core_form: Replace FORM_SUBMIT_AJAX event
...
The legacy M.core.event.FORM_SUBMIT_AJAX ecent has been replaced with a
new core_form/events::formSubmittedByJavascript native DOM event.
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_form/events';
document.addEventListener(eventTypes.formSubmittedByJavascript, handler);
```
A backward-compatabibility layer is included to ensure that any
legacy YUI event triggered on a form is still respected and the new
native event is also fired.
A similar handler is also included to ensure that any legacy YUI event
listener is still called with the same arguments.
These legacy bridges will be removed after Moodle 4.3.
2021-05-26 10:46:49 +08:00
Ilya Tregubov
11956f9fff
MDL-70311 theme_boost: upgrade bootstrap to version 4.6.0
2021-03-17 12:26:45 +02:00
Paul Holden
ccc2f64244
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:39:06 +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
Shamim Rezaie
1ca295c34f
MDL-69301 theme_boost: Remove the special handling of Escape key
2020-12-10 15:05:11 +08: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
Marina Glancy
88a3e647ac
MDL-69608 core_form: frozen forms do not have form tag
2020-09-02 12:19:17 +02:00
Andrew Nicols
7cc18dc2ad
MDL-68390 js: Update to use Aria mod
2020-07-15 14:40:49 +08:00
Andrew Nicols
94376c6910
MDL-69086 theme_boost: Improve pendingJs checks for bootstrap
...
Where an element, like an `alert`, is closed it is removed from the DOM
before the event fires (this is a correct behaviour).
This means that the final event confirming that the action happened
(i.e. close => closed) fires, but does not bubble up the DOM to the
document.body.
This change moves the end event listener to only be added after a start
event has been fired, and to attach directly to the HTMLElement where it
will be fired. This means that the Event handler will still be called,
even though it has been removed from the DOM, because it does not need
to bubble up to the body.
2020-06-19 08:17:45 +08:00
Bas Brands
355af8f84d
MDL-68833 theme_boost: prevent having to call init on the loader
...
This was added in a previous master-only issue and breaks backwards compatability with child themes.
There is no need to have the init function here.
2020-06-03 09:21:48 +08:00
Andrew Nicols
23c60c18ef
MDL-68833 theme_boost: Stop overriding popover triggers
...
The trigger specified in JS overrides any `data-trigger` in the DOM,
which changed the behaviour of Popovers.
2020-06-03 09:21:07 +08:00
Andrew Nicols
721c29ff2d
MDL-68833 theme_boost: Add ./pending event checks back
2020-06-03 09:17:37 +08:00
Bas Brands
6a4ce7b0a3
MDL-67386 theme_boost: upgrade bootstrap to version 4.5.0
2020-05-25 15:48:17 +02:00
Andrew Nicols
f879cc518e
MDL-66109 js: Build changes for NodeJS upgrade
...
This change includes a build to fix all minified file changes in Moodle
as a result of upgrades to our build process.
2020-05-11 10:55:54 +08:00
Bas Brands
8ad4255fbe
MDL-67863 theme_boost: change keyboard tab order
...
Move navdrawer up in the dom for a more logical tab order
Hide navdrawer links for tab / screenreader when navdrawer is closed
2020-02-27 17:11:03 +01:00
Tim Hunt
ae5d5f2085
MDL-67876 forms: not all field types need validation JS
2020-02-12 10:06:58 +00:00
Tim Hunt
a5b56c4da5
MDL-67876 forms: scroll to any invalid element if form cannot submit
2020-02-12 09:32:21 +00:00
Ferran Recio
1b5630a01f
MDL-66463 theme_boost: go to top link
2020-01-31 12:37:10 +01:00
Kiet.Chan
ed561c801e
MDL-67583 themes: Popover placement should react to scroll event
2020-01-13 17:30:43 +07:00
Kiet.Chan
aa8a719049
MDL-67417 theme_boost: Tooltip icon stop working after closing using ESC
2019-12-11 15:01:35 +07:00
Marina Glancy
4d2b8ece29
MDL-67342 theme_boost: Do not hardcode tooltip container
2019-11-24 13:42:48 +01:00
sam marshall
81305c3bbe
MDL-67149 Accessibility: Help popups fail WCAG 1.4.13 (Dismissable)
...
It must be possible to dismiss the help popups (popovers) with the
Escape key, without changing focus.
2019-11-06 16:24:30 +00:00
Andrew Nicols
d1529dc66d
MDL-66247 accessibility: Correct notification alert role support
2019-10-31 07:29:58 +08:00
Ryan Wyllie
060da692b6
MDL-64821 theme_boost: enable bootstrap tooltips
2019-09-25 10:42:19 +08:00
Andrew Nicols
5034f0a12b
MDL-66550 theme: Wrap JS calls in pendingJS
2019-09-12 20:58:10 +08:00
Bas Brands
fbd99bbb00
MDL-59639 theme_boost: remember last visited tab
2019-08-06 08:54:23 +02:00
Adrian Greeve
dcc3f54e24
Merge branch 'MDL-64887-master-3' of git://github.com/bmbrands/moodle
2019-07-29 10:16:01 +08:00
Bas Brands
9f08292f4f
MDL-64887 theme_boost: prevent drop downs from flipping up
2019-07-25 15:24:03 +02:00
Bas Brands
10425e7347
MDL-64887 theme_boost: update bootstrap to 4.3.1
2019-07-22 08:57:04 +02:00
Ryan Wyllie
195ea4480b
MDL-62497 javascript: build AMD modules with new transpiler
2019-07-19 14:12:49 +08:00
Andrew Nicols
d27ac4622e
MDL-65447 theme: Apply pendingJS checks to BS transitions
2019-05-02 13:31:41 +02:00
Ryan Wyllie
2719668068
MDL-64376 theme_boost: fire event on nav drawer toggle
2019-02-27 10:50:33 +08:00
Andrew Nicols
eb514bb3e5
MDL-63714 javascript: Add new core/pending module
2018-10-24 12:49:09 +08:00
Andrew Nicols
f0bfedf348
MDL-63714 theme_boost: Fix aria focus behat issues
2018-10-24 12:45:13 +08:00
Damyon Wiese
addb26acbb
MDL-61388 boost: accessibility
...
Dynamically show and focus on an alert that was written on page load. This ensures JAWS will read it
as soon as the page is ready, otherwise JAWS would choose to ignore it as per
https://www.w3.org/TR/wai-aria-practices/#alert .
2018-10-22 10:53:31 +08:00
Damyon Wiese
191a1c7c23
MDL-62139 output: Accessible action menus
...
Add label on the "gear" menu and default keyboard and focus controls.
2018-10-22 10:35:21 +08:00
Kathrin Osswald
c449fbcf72
MDL-62283 theme Boost: No nav drawer pref on small screens
2018-06-15 13:14:28 +02:00
Kathrin Osswald
07b203db88
MDL-61411 theme Boost: Close navigation on all items (on small screens)
2018-04-26 13:17:12 +02:00
Bas Brands
3ec69c2ece
MDL-56511 theme_boost: Update to Bootstrap 4 stable
...
Behat fixes by David Monllao <davidm@moodle.com >
- Blocks
- Modals
- Messaging styling
- Breadcrumb
- Pagination
- Course & categories management
2018-04-18 09:31:53 +08:00