@bbc/psammead-navigation
Advanced tools
Comparing version 9.2.13 to 9.2.14
@@ -6,2 +6,3 @@ # Psammead Navigation Changelog | ||
|---------|-------------| | ||
| 9.2.14 | [PR#4587](https://github.com/bbc/psammead/pull/4587) Fix TalkBack reading nested spans incorrectly | | ||
| 9.2.13 | [PR#4590](https://github.com/bbc/psammead/pull/4590) Fix talkback comma bug | | ||
@@ -8,0 +9,0 @@ | 9.2.12 | [PR#4574](https://github.com/bbc/psammead/pull/4574) Bumps psammead-styles | |
{ | ||
"name": "@bbc/psammead-navigation", | ||
"version": "9.2.13", | ||
"version": "9.2.14", | ||
"description": "A navigation bar to use on index pages", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -119,2 +119,3 @@ import React from 'react'; | ||
const CurrentLink = ({ | ||
linkId, | ||
children: link, | ||
@@ -131,2 +132,4 @@ script, | ||
brandHighlightColour={brandHighlightColour} | ||
// This is a temporary fix for the a11y nested span's bug experienced in TalkBack, refer to the following issue: https://github.com/bbc/simorgh/issues/9652 | ||
id={`NavigationLinks-${linkId}`} | ||
> | ||
@@ -140,2 +143,3 @@ <VisuallyHiddenText>{`${currentPageText}, `}</VisuallyHiddenText> | ||
CurrentLink.propTypes = { | ||
linkId: string.isRequired, | ||
children: string.isRequired, | ||
@@ -190,5 +194,8 @@ script: shape(scriptPropType).isRequired, | ||
brandHighlightColour={brandHighlightColour} | ||
// This is a temporary fix for the a11y nested span's bug experienced in TalkBack, refer to the following issue: https://github.com/bbc/simorgh/issues/9652 | ||
aria-labelledby={`NavigationLinks-${link}`} | ||
{...props} | ||
> | ||
<CurrentLink | ||
linkId={link} | ||
script={script} | ||
@@ -195,0 +202,0 @@ currentPageText={currentPageText} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
453990
3639