Skip to content

Commit

Permalink
LOYALIST-48 Add accessible heading for frontpage news section
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Oct 25, 2024
1 parent 8f94113 commit 267f256
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion configuration/views.view.frontpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -659,13 +659,24 @@ display:
use_more_text: "Check out What's New"
header: { }
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: "What's New Accessible Header"
plugin_id: text_custom
empty: false
content: '<h2 class="visually-hidden">What''s New</h2>'
tokenize: false
view:
id: view
table: views
field: view
relationship: none
group_type: group
admin_label: 'Whats New Block Display'
admin_label: 'Whats New Block'
plugin_id: view
empty: false
view_to_insert: 'news:block_1'
Expand Down
4 changes: 2 additions & 2 deletions configuration/views.view.news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- node
- user
id: news
label: News
label: "What's New"
module: views
description: ''
tag: ''
Expand Down Expand Up @@ -346,7 +346,7 @@ display:
link_url: whats-new
display_extenders:
simple_sitemap_display_extender: { }
block_description: 'Promoted to Front'
block_description: "What's New Block"
cache_metadata:
max-age: -1
contexts:
Expand Down

0 comments on commit 267f256

Please sign in to comment.