Skip to content

Commit

Permalink
refactor: we need to harmonize specific words
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Aug 8, 2024
1 parent 8b55689 commit df1d8a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["article","list 2 items","• Popover Custom Item 1 1 of 2","• Popover Custom Item 2 2 of 2","end of list","Popover Custom Item 3 button","end of article","(Default) Regular menu pop-up button"]
["article","list 2 items","• Popover Custom Item 1 1 of 2","• Popover Custom Item 2 2 of 2","end of list","Popover Custom Item 3 button","end of article","(Default) Regular menu pop up button"]
2 changes: 2 additions & 0 deletions showcases/screen-reader/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ const cleanSpeakInstructions = (phraseLog: string[]): string[] =>
)
)
.join('. ')
// We need to replace specific phrases, as they are being reported differently on localhost and within CI/CD
.replaceAll('pop-up', 'pop up')
);

export const generateSnapshot = async (
Expand Down

0 comments on commit df1d8a7

Please sign in to comment.