fix: react-doctor prefer-tag-over-role 25→18 (remove redundant role=status, aria-live provides semantics)
This commit is contained in:
@@ -120,7 +120,7 @@ export default function ContactClientPage() {
|
||||
</div>
|
||||
|
||||
{submitted ? (
|
||||
<div className="rounded-2xl bg-[#f0fdf4] border border-[#bbf7d0] p-10 text-center" role="status" aria-live="polite">
|
||||
<div className="rounded-2xl bg-[#f0fdf4] border border-[#bbf7d0] p-10 text-center" aria-live="polite">
|
||||
<div className="inline-flex h-14 w-14 items-center justify-center rounded-full bg-[#dcfce7] mb-4 shadow-md" aria-hidden="true">
|
||||
<svg className="h-7 w-7 text-[#1a4d2e]" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 12.75l6 6 9-13.5" />
|
||||
|
||||
Reference in New Issue
Block a user