From 71fad3884bc55b266067efb346500c848b856946 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 23 Aug 2022 11:23:00 -0500 Subject: [PATCH] fix(breadcrumb): separator is not announced by narrators (#25796) --- core/src/components/breadcrumb/breadcrumb.tsx | 7 ++++++- .../breadcrumbs/test/breadcrumbs.spec.ts | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/core/src/components/breadcrumb/breadcrumb.tsx b/core/src/components/breadcrumb/breadcrumb.tsx index a565d089d1..c344f6fb68 100644 --- a/core/src/components/breadcrumb/breadcrumb.tsx +++ b/core/src/components/breadcrumb/breadcrumb.tsx @@ -222,7 +222,12 @@ export class Breadcrumb implements ComponentInterface { )} {showSeparator && ( - + /** + * Separators should not be announced by narrators. + * We add aria-hidden on the span so that this applies + * to any custom separators too. + */ +