Skip to content

Commit b97d304

Browse files
committed
Header: Use role: none instead of presentation
https://github.com/A11yance/aria-query/blob/main/CHANGELOG.md#520 apparently decided that `presentation` should now be flagged as wrong by ember-template-lint... 🤷‍♂️
1 parent 4cfe843 commit b97d304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/header.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header local-class="header {{if @hero "hero"}}">
22
<div local-class="header-inner">
33
<LinkTo @route="index" local-class="index-link">
4-
<img src="/assets/cargo.png" role="presentation" alt="" local-class="logo">
4+
<img src="/assets/cargo.png" role="none" alt="" local-class="logo">
55
<h1>crates.io</h1>
66
</LinkTo>
77

0 commit comments

Comments
 (0)