Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Nov 21, 2023
1 parent 1d59178 commit fdbafd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/stanford_basic/stanford_basic.theme
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function stanford_basic_preprocess_block(&$variables) {
}
}

if (isset($variables['configuration']['label_display '])) {
if (!isset($variables['configuration']['label_display '])) {
$variables['attributes']['aria-hidden'] = 'true';
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{% endif %}

{{ title_prefix }}
<h2{{ title_attributes.setAttribute('id', heading_id) }} {% if not configuration.label_display %}aria-hidden=true{% endif %}>{{ configuration.label }}</h2>
<h2{{ title_attributes.setAttribute('id', heading_id) }}>{{ configuration.label }}</h2>
{{ title_suffix }}

{# Menu. #}
Expand Down

0 comments on commit fdbafd8

Please sign in to comment.