Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: PRSDM-6121 article divs need title field for voice over #292

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/partials/article/root.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{/* Unique id for file, used by scroll-spy and menu toggle */}}
{{ $uid := .File.UniqueID }}

<div class="article {{ $type }}" data-roles="{{ $roles }}" id="{{ $uid }}" data-link="{{ $articleLink }}" permalink="{{.Page.RelPermalink}}" data-no-content="{{ $noContent }}" >
<div class="article {{ $type }}" data-roles="{{ $roles }}" id="{{ $uid }}" data-link="{{ $articleLink }}" permalink="{{.Page.RelPermalink}}" data-no-content="{{ $noContent }}" title="{{ .Title }}" >
{{ if or (ne (len .Content) 0) (and $nestedArticles (partial "common/pages" .)) }}
<div class="presidium-article-wrapper">
<span class="anchor" id="{{ $slug }}" data-id="{{ $articleId }}"></span>
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/page/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ <h1 class="page-title offendingHeading">
{{ $pageLink := .Page.RelPermalink }}
{{ $slug := (partial "common/slug" .) }}

<div class="page title" data-roles="{{ $roles }}" data-link="{{ $pageLink }}" permalink="{{ .Page.RelPermalink }}" >
<div class="page title" data-roles="{{ $roles }}" data-link="{{ $pageLink }}" permalink="{{ .Page.RelPermalink }}" title="{{ .Title }}" >
<div class="article-title article-actions" data-align="center-left">
<h1 class="page-title offendingHeading">
{{ .Title}}
{{ .Title }}
</h1>
</div>
</div>
Expand Down