We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2837790 commit cbc7323Copy full SHA for cbc7323
core/src/components/header/header.utils.ts
@@ -181,6 +181,15 @@ export const setHeaderActive = (headerIndex: HeaderIndex, active = true) => {
181
} else {
182
headerEl.classList.add('header-collapse-condense-inactive');
183
184
+ /**
185
+ * The small title should only be accessed by screen readers
186
+ * when the large title collapses into the small title due
187
+ * to scrolling.
188
+ *
189
+ * Originally, the header was given `aria-hidden="true"`
190
+ * but this caused issues with screen readers not being
191
+ * able to access any focusable elements within the header.
192
+ */
193
ionTitles.forEach((ionTitle) => {
194
if (ionTitle) {
195
ionTitle.setAttribute('aria-hidden', 'true');
0 commit comments