Skip to content

Commit

Permalink
Merge pull request #1254 from SU-HSDO/9.4.6-release
Browse files Browse the repository at this point in the history
9.4.6
  • Loading branch information
joegl authored Feb 1, 2023
2 parents 5f7dcfd + 20b5238 commit e90b0b4
Show file tree
Hide file tree
Showing 12 changed files with 101 additions and 79 deletions.
115 changes: 57 additions & 58 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ field_name: field_en_mega_menu
entity_type: config_pages
bundle: hs_site_options
label: 'Enable New Mega Menu'
description: 'Will replace the original main menu with newer mega menu. Cache clear required after changing this setting.'
description: 'Will replace the original main menu with newer mega menu. Cache clear required after changing this setting. The menu animations will be on by default.'
required: false
translatable: false
default_value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ field_name: field_en_mega_menu
entity_type: config_pages
bundle: hs_site_options
label: 'Enable New Mega Menu'
description: 'Will replace the original main menu with newer mega menu. Cache clear required after changing this setting.'
description: 'Will replace the original main menu with newer mega menu. Cache clear required after changing this setting. The menu animations will be on by default.'
required: false
translatable: false
default_value:
Expand All @@ -19,4 +19,4 @@ default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
field_type: boolean
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'DO NOT INSTALL. This is for profile installation task only.'
core_version_requirement: '^8.8 || ^9'
hidden: true
type: module
version: 9.4.5
version: 9.4.6
default_content:
shortcut:
- 0c69448d-c6fa-4fb8-9b2e-f93f3a955baf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- 'hook_event_dispatcher:toolbar_event_dispatcher'
- 'hook_event_dispatcher:user_event_dispatcher'
- 'hook_event_dispatcher:views_event_dispatcher'
version: 9.4.5
version: 9.4.6
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Stanford HumSci'
type: profile
description: 'Installation profile for HumSci Drupal'
version: 9.4.5
version: 9.4.6
core_version_requirement: '^8.8 || ^9'
themes:
- material_admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ function su_humsci_profile_preprocess_image_formatter(&$variables) {
if (isset($variables['url'])) {
// Disable screen readers from seeing the link on the image since there
// should be another link with text nearby.
$variables['image']['#alt'] = '';
$variables['image']['#attributes']['aria-hidden'] = 'true';
$variables['image']['#attributes']['tabindex'] = -1;
$variables['url']->mergeOptions([
'attributes' => [
'tabindex' => -1,
Expand All @@ -190,7 +191,8 @@ function su_humsci_profile_preprocess_responsive_image_formatter(&$variables) {
if (isset($variables['url'])) {
// Disable screen readers from seeing the link on the image since there
// should be another link with text nearby.
$variables['responsive_image']['#attributes']['alt'] = '';
$variables['responsive_image']['#attributes']['aria-hidden'] = 'true';
$variables['responsive_image']['#attributes']['tabindex'] = -1;
$variables['url']->mergeOptions(['attributes' => ['tabindex' => -1]]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_airy/css/humsci_airy.css

Large diffs are not rendered by default.

Loading

0 comments on commit e90b0b4

Please sign in to comment.