Skip to content

Commit f76184a

Browse files
authored
Add aria-live attributes to Cookbook filter results (#56339)
1 parent 2cc39d6 commit f76184a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/landings/components/CategoryLanding.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const CategoryLanding = () => {
122122
<div className="pt-8">
123123
<div className="py-5 border-bottom">
124124
<div className="pb-3 mr-5 ml-1 float-xl-left">
125-
<h2>
125+
<h2 aria-live="polite">
126126
{t('explore_articles').replace('{{ number }}', searchResults.length.toString())}
127127
</h2>
128128
</div>
@@ -135,7 +135,7 @@ export const CategoryLanding = () => {
135135
/>
136136
</div>
137137
</div>
138-
<ul className="clearfix d-flex flex-wrap gutter-md-spacious">
138+
<ul className="clearfix d-flex flex-wrap gutter-md-spacious" aria-live="polite">
139139
{searchResults.map((item, index) => (
140140
<li key={index} className="col-md-6 col-lg-4 col-sm-12 list-style-none p-4">
141141
<CookBookArticleCard

0 commit comments

Comments
 (0)