diff --git a/src/rsg-components/TableOfContents/TableOfContentsRenderer.js b/src/rsg-components/TableOfContents/TableOfContentsRenderer.js index c327f0f44..3badf9106 100644 --- a/src/rsg-components/TableOfContents/TableOfContentsRenderer.js +++ b/src/rsg-components/TableOfContents/TableOfContentsRenderer.js @@ -43,10 +43,11 @@ export function TableOfContentsRenderer({ classes, children, searchTerm, onSearc value={searchTerm} className={classes.input} placeholder="Filter by name" + aria-label="Filter by name" onChange={event => onSearchTermChange(event.target.value)} /> - {children} + ); diff --git a/src/rsg-components/TableOfContents/__snapshots__/TableOfContents.spec.js.snap b/src/rsg-components/TableOfContents/__snapshots__/TableOfContents.spec.js.snap index 027fda5da..f31b586ef 100644 --- a/src/rsg-components/TableOfContents/__snapshots__/TableOfContents.spec.js.snap +++ b/src/rsg-components/TableOfContents/__snapshots__/TableOfContents.spec.js.snap @@ -5,11 +5,13 @@ exports[`renderer should render table of contents 1`] = `