Skip to content

Commit 94455e8

Browse files
committed
feat: improve query advise
1 parent 9cb6606 commit 94455e8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/QueryAdvise.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ function QueryAdvise({ data }) {
9696
by adding the name option.
9797
</p>
9898
);
99+
} else if (used.level > 0) {
100+
suggestion = (
101+
<p>
102+
This isn't great, but we can't do better with the current markup. Extend
103+
your html to improve accessibility and unlock better queries.
104+
</p>
105+
);
99106
} else {
100107
suggestion = <p>This is great. Ship it!</p>;
101108
}

0 commit comments

Comments
 (0)