Commits

Tim Donohue authored and GitHub committed 1187edb4869 Merge
Merge pull request #1219 from atmire/w2p-79597_Fix-thumbnail-a11y-issues

Fix thumbnail a11y issues
No tags
gidlmaster

src/app/+item-page/field-components/metadata-field-wrapper/metadata-field-wrapper.component.html

Modified
1 -<div class="simple-view-element" [class.d-none]="content.textContent.trim().length === 0 && hasNoValue(content.querySelector('img'))">
1 +<div class="simple-view-element" [class.d-none]="hideIfNoTextContent && content.textContent.trim().length === 0">
2 2 <h5 class="simple-view-element-header" *ngIf="label">{{ label }}</h5>
3 3 <div #content class="simple-view-element-body">
4 4 <ng-content></ng-content>
5 5 </div>
6 6 </div>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut