Refactor Program.cs to use async Run method for improved performance. Update index.html to specify language attribute for accessibility. Enhance BumperTemplateEditor and ScheduleGrid components by replacing divs with buttons for better keyboard accessibility. Improve TemplatePreview sorting logic and optimize episode regex handling. Add close button to ToastItem for better user interaction. Update localization files to include 'close' translations. Refactor CardTitle to ensure screen reader compatibility by explicitly rendering children.
This commit is contained in:
@@ -88,6 +88,7 @@ function RootLayout() {
|
||||
{user.userName}
|
||||
</Link>
|
||||
<button
|
||||
type="button"
|
||||
className="hidden rounded-sm border border-border px-3 py-1 text-xs uppercase tracking-wide hover:bg-muted md:block"
|
||||
onClick={() => void handleLogout()}
|
||||
>
|
||||
@@ -104,6 +105,7 @@ function RootLayout() {
|
||||
)}
|
||||
|
||||
<button
|
||||
type="button"
|
||||
className="rounded-sm border border-border p-1.5 md:hidden"
|
||||
onClick={() => setMenuOpen((v) => !v)}
|
||||
aria-label="Menu"
|
||||
@@ -133,7 +135,7 @@ function RootLayout() {
|
||||
>
|
||||
{user.userName}
|
||||
</Link>
|
||||
<button className="py-1 text-left" onClick={() => void handleLogout()}>
|
||||
<button type="button" className="py-1 text-left" onClick={() => void handleLogout()}>
|
||||
{t('nav.logout')}
|
||||
</button>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user