Skip to content

Commit 71d4acb

Browse files
Merge pull request #15072 from guardian/Fix-aria-allowed-attr
a11y Fix aria-allowed-attr
2 parents 44867ba + a2a7a00 commit 71d4acb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dotcom-rendering/src/components/Discussion/AbuseReportForm.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,12 @@ export const AbuseReportForm = ({
225225
formVariables.categoryId === legalIssueCategoryId;
226226

227227
return (
228-
<div aria-modal="true" ref={modalRef}>
228+
<div
229+
role="dialog"
230+
aria-modal="true"
231+
aria-label="Report abuse"
232+
ref={modalRef}
233+
>
229234
<form css={formWrapper} onSubmit={onSubmit}>
230235
<div
231236
css={[

0 commit comments

Comments
 (0)