mirror of
https://github.com/uetchy/namae.git
synced 2025-08-20 09:58:13 +09:00
feat: a11y
This commit is contained in:
@@ -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')}`}>
|
||||
|
Reference in New Issue
Block a user