Skip to content

Commit

Permalink
Addressing review comment for dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Snehal Sonawane committed Jan 20, 2025
1 parent 03516a3 commit b1e90fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/blocks/global-footer/global-footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ class Footer {
});
} else {
// No hash -> region selector expands a dropdown
regionPickerElem.setAttribute('aria-haspopup', 'true');
regionPickerElem.href = '#'; // reset href value to not get treated as a fragment
regionSelector.href = localizeLink(regionSelector.href);
decorateAutoBlock(regionSelector); // add fragment-specific class(es)
Expand Down

0 comments on commit b1e90fa

Please sign in to comment.