render() {
const { showFullMeasures } = this.props;
return (
- <div>
+ <nav aria-label={translate('secondary')}>
<A11ySkipTarget
anchor="measures_filters"
label={translate('component_measures.skip_to_filters')}
showFullMeasures={showFullMeasures}
/>
))}
- </div>
+ </nav>
);
}
}
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should display two facets 1`] = `
-<div>
+<nav
+ aria-label="secondary"
+>
<A11ySkipTarget
anchor="measures_filters"
label="component_measures.skip_to_filters"
selected="duplicated_lines_density"
showFullMeasures={true}
/>
-</div>
+</nav>
`;
x_show={0} shown
x_selected={0} selected
x_of_y_shown={0} of {1} shown
+secondary=Secondary
size=Size
skip=Skip
skip_to_content=Skip to main content