From 903e4cf8ae20c6f082ad7f99a1ac029b9e9c9458 Mon Sep 17 00:00:00 2001 From: Movindu Jayathilake Date: Wed, 1 Jul 2026 14:33:48 +0530 Subject: [PATCH 1/2] Fix anchor accessibility warnings in consent components --- .../components/consent-description-editor.tsx | 1 + .../admin.consents.v1/components/policy-consent-preview.tsx | 5 ++++- .../resources/elements/adapters/policy-consent-adapter.tsx | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/features/admin.consents.v1/components/consent-description-editor.tsx b/features/admin.consents.v1/components/consent-description-editor.tsx index 524d29f287e..d31d18f3e27 100644 --- a/features/admin.consents.v1/components/consent-description-editor.tsx +++ b/features/admin.consents.v1/components/consent-description-editor.tsx @@ -654,6 +654,7 @@ export const ConsentDescriptionEditor: FunctionComponent ] } /> diff --git a/features/admin.consents.v1/components/policy-consent-preview.tsx b/features/admin.consents.v1/components/policy-consent-preview.tsx index b7a6598fe96..3bb8bbdb0d9 100644 --- a/features/admin.consents.v1/components/policy-consent-preview.tsx +++ b/features/admin.consents.v1/components/policy-consent-preview.tsx @@ -197,7 +197,10 @@ export const PolicyConsentPreview: FunctionComponent + ] } /> { mandatory && } diff --git a/features/admin.flow-builder-core.v1/components/resources/elements/adapters/policy-consent-adapter.tsx b/features/admin.flow-builder-core.v1/components/resources/elements/adapters/policy-consent-adapter.tsx index 4ffaa468a2f..d45966b4d13 100644 --- a/features/admin.flow-builder-core.v1/components/resources/elements/adapters/policy-consent-adapter.tsx +++ b/features/admin.flow-builder-core.v1/components/resources/elements/adapters/policy-consent-adapter.tsx @@ -199,6 +199,11 @@ const PolicyConsentAdapter: FunctionComponent ] } /> From 8da7384c290ee26a29109667cdde73ba7f9ebb25 Mon Sep 17 00:00:00 2001 From: Movindu Jayathilake Date: Wed, 1 Jul 2026 14:48:29 +0530 Subject: [PATCH 2/2] Add changeset for consent anchor accessibility fix --- .changeset/fix-anchor-accessibility.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/fix-anchor-accessibility.md diff --git a/.changeset/fix-anchor-accessibility.md b/.changeset/fix-anchor-accessibility.md new file mode 100644 index 00000000000..daacc150a7c --- /dev/null +++ b/.changeset/fix-anchor-accessibility.md @@ -0,0 +1,6 @@ +--- +"@wso2is/admin.consents.v1": patch +"@wso2is/admin.flow-builder-core.v1": patch +--- + +Fix anchor accessibility warnings in consent components.