mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +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}
|
||||
ref={inputRef}
|
||||
placeholder={t('placeholder')}
|
||||
aria-label="search query"
|
||||
/>
|
||||
{queryGiven && !suggested ? (
|
||||
<Suggestion onSubmit={onSuggestionCompleted} query={query} />
|
||||
|
@ -22,10 +22,13 @@ export default function Footer() {
|
||||
</ExternalLink>
|
||||
</p>
|
||||
<Links>
|
||||
<ExternalLink href="https://github.com/uetchy/namae">
|
||||
<ExternalLink
|
||||
href="https://github.com/uetchy/namae"
|
||||
aria-label="Go to GitHub repository">
|
||||
<FaGithubAlt />
|
||||
</ExternalLink>
|
||||
<ExternalLink
|
||||
aria-label="Tweet this page"
|
||||
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
|
||||
`namae — ${t('title')}`
|
||||
)}&url=${encodeURIComponent('https://namae.dev')}`}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user