diff --git a/src/idsk/components/in-page-navigation/_in-page-navigation.scss b/src/idsk/components/in-page-navigation/_in-page-navigation.scss index aea864d523..df9664ee00 100644 --- a/src/idsk/components/in-page-navigation/_in-page-navigation.scss +++ b/src/idsk/components/in-page-navigation/_in-page-navigation.scss @@ -25,6 +25,7 @@ position: fixed; top: 70px; width: 100%; + height: auto; @include mq($from: desktop) { position: sticky; diff --git a/src/idsk/components/search-results/search-results.js b/src/idsk/components/search-results/search-results.js index 0265e8169e..6b7dfa04de 100644 --- a/src/idsk/components/search-results/search-results.js +++ b/src/idsk/components/search-results/search-results.js @@ -514,6 +514,11 @@ SearchResults.prototype.handleClickLinkPanel = function (e) { toggleClass($contentPanel, 'idsk-search-results--hidden') toggleClass($linkPanelButton, 'idsk-search-results--expand') + if ($linkPanelButton.classList.contains('idsk-search-results--expand')) { + $el.setAttribute('aria-expanded', 'true') + } else { + $el.setAttribute('aria-expanded', 'false') + } } /**