Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(index): update hidden elements in index.html for accessibility #47

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/app-client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
</script>
</head>
<body>
<h1 class="sr-only">Enclosed - Send Private and Secure Notes</h1>
<p class="sr-only">Enclosed is a secure platform for sending private notes. All notes are end-to-end encrypted with zero knowledge on the server side.</p>
<h1 class="sr-only" aria-hidden="true">Enclosed - Send Private and Secure Notes</h1>
<p class="sr-only" aria-hidden="true">Enclosed is a secure platform for sending private notes. All notes are end-to-end encrypted with zero knowledge on the server side.</p>

<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions packages/app-client/src/modules/ui/layouts/app.layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const Navbar: Component = () => {
return (
<div class="border-b border-border bg-surface">
<div class="flex items-center justify-between px-6 py-3 mx-auto max-w-1200px">
<div class="flex items-baseline gap-1">
<Button variant="ghost" class="text-lg font-semibold ml--4 " onClick={newNoteClicked}>
<div class="flex items-baseline gap-4">
<Button variant="link" class="text-lg font-semibold border-b border-transparent hover:(no-underline !border-border) h-auto py-0 px-1 ml--1 rounded-none !transition-border-color-250" onClick={newNoteClicked}>
Enclosed
</Button>

Expand Down
Loading