Skip to content

Commit 02258e4

Browse files
committed
Apple Music: Fix detection of the search textbox in NVDA browse mode.
1 parent 196c661 commit 02258e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AppleMusicA11yFixes.user.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ const DYNAMIC_TWEAK_ATTRIBS = [];
145145

146146
// Tweaks that must be applied whenever a node is added/changed.
147147
const DYNAMIC_TWEAKS = [
148+
// Get rid of the svg inside the search combobox which prevents detection of
149+
// the inner textbox with NVDA browse mode.
150+
{selector: '.dt-search-box__icon',
151+
tweak: makePresentational},
148152
// Make "Library" and "Playlists" headings.
149153
{selector: '.web-navigation__header-text',
150154
tweak: [makeHeading, 2]},

0 commit comments

Comments
 (0)