mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 12:30:32 +09:00
feat: a11y
This commit is contained in:
parent
0d4429cb95
commit
2b90d1d721
2
web/public/robots.txt
Normal file
2
web/public/robots.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
User-agent: *
|
||||||
|
Allow: /
|
@ -80,6 +80,7 @@ export default function App() {
|
|||||||
value={inputValue}
|
value={inputValue}
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
placeholder={t('placeholder')}
|
placeholder={t('placeholder')}
|
||||||
|
aria-label="search query"
|
||||||
/>
|
/>
|
||||||
{queryGiven && !suggested ? (
|
{queryGiven && !suggested ? (
|
||||||
<Suggestion onSubmit={onSuggestionCompleted} query={query} />
|
<Suggestion onSubmit={onSuggestionCompleted} query={query} />
|
||||||
|
@ -22,10 +22,13 @@ export default function Footer() {
|
|||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
</p>
|
</p>
|
||||||
<Links>
|
<Links>
|
||||||
<ExternalLink href="https://github.com/uetchy/namae">
|
<ExternalLink
|
||||||
|
href="https://github.com/uetchy/namae"
|
||||||
|
aria-label="Go to GitHub repository">
|
||||||
<FaGithubAlt />
|
<FaGithubAlt />
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
<ExternalLink
|
<ExternalLink
|
||||||
|
aria-label="Tweet this page"
|
||||||
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
|
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
|
||||||
`namae — ${t('title')}`
|
`namae — ${t('title')}`
|
||||||
)}&url=${encodeURIComponent('https://namae.dev')}`}>
|
)}&url=${encodeURIComponent('https://namae.dev')}`}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user