diff --git a/NEWS.md b/NEWS.md index bb0b748e5..d36a4cd04 100644 --- a/NEWS.md +++ b/NEWS.md @@ -6,6 +6,8 @@ * When previewing a site, it is now served via a local http server. This enables dynamic features such as search to work correctly (@shikokuchuo, #2975). * Code in a link (href) is no longer autolinked (#2972) +* Search results are now accessible via keyboard navigation (#2997) + # pkgdown 2.2.0 * Make `build_llm_docs()` more robust to the use of old Pandoc (@nanxstats, @galachad, #2952, #2954) diff --git a/inst/BS5/assets/pkgdown.scss b/inst/BS5/assets/pkgdown.scss index 8d3db061b..8acc3d77b 100644 --- a/inst/BS5/assets/pkgdown.scss +++ b/inst/BS5/assets/pkgdown.scss @@ -740,7 +740,8 @@ mark { padding: 0.5rem 0.25rem; line-height: 1.3; - &:hover { + &:hover, + &.aa-cursor { background-color: var(--bs-tertiary-bg); color: var(--bs-body-color); }