fix: react-doctor prefer-tag-over-role 25→18 (remove redundant role=status, aria-live provides semantics)
This commit is contained in:
@@ -921,7 +921,7 @@ export default function WaterLogAdminPanel({
|
||||
{/* Toast */}
|
||||
{toast && (
|
||||
<div
|
||||
role="status"
|
||||
|
||||
aria-live="polite"
|
||||
className={`fixed bottom-6 right-6 z-50 rounded-xl px-4 py-3 font-medium shadow-lg transition-all ${
|
||||
toast.kind === "ok"
|
||||
|
||||
Reference in New Issue
Block a user