mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-67874 theme_boost: make focus outline accessible
This commit is contained in:
parent
8aa0f2c4d8
commit
91de0ed823
30 changed files with 473 additions and 97 deletions
|
@ -135,8 +135,7 @@ class MoodleQuickForm_date_selector extends MoodleQuickForm_group {
|
|||
if ($calendartype->get_name() === 'gregorian') {
|
||||
$image = $OUTPUT->pix_icon('i/calendar', get_string('calendar', 'calendar'), 'moodle');
|
||||
$this->_elements[] = $this->createFormElement('link', 'calendar',
|
||||
null, '#', $image,
|
||||
array('class' => 'visibleifjs'));
|
||||
null, '#', $image);
|
||||
}
|
||||
// If optional we add a checkbox which the user can use to turn if on
|
||||
if ($this->_options['optional']) {
|
||||
|
|
|
@ -154,8 +154,7 @@ class MoodleQuickForm_date_time_selector extends MoodleQuickForm_group {
|
|||
if ($calendartype->get_name() === 'gregorian') {
|
||||
$image = $OUTPUT->pix_icon('i/calendar', get_string('calendar', 'calendar'), 'moodle');
|
||||
$this->_elements[] = $this->createFormElement('link', 'calendar',
|
||||
null, '#', $image,
|
||||
array('class' => 'visibleifjs'));
|
||||
null, '#', $image);
|
||||
}
|
||||
// If optional we add a checkbox which the user can use to turn if on
|
||||
if ($this->_options['optional']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue