Skip to content

Commit

Permalink
chore(a11y): improving a11y score to 100% for homepage in both light/…
Browse files Browse the repository at this point in the history
…dark mode for mobile/desktop
  • Loading branch information
StephNathai committed Oct 21, 2024
1 parent 9467bc5 commit fcf6142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout/HomeContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ function BrowserChrome({children, hasPulse, hasRefresh, domain, path}) {
/>
</svg>

<span className="text-gray-30">
<span>
{domain}
{path != null && '/'}
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layout/TopNav/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export default function TopNav({
<button
type="button"
className={cn(
'flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full text-gray-30 rounded-full align-middle text-base'
'flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full rounded-full align-middle text-base'
)}
onClick={onOpenSearch}>
<IconSearch className="align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
Expand Down

0 comments on commit fcf6142

Please sign in to comment.