diff --git a/R/navbar-menu.R b/R/navbar-menu.R index a0ab78dc7..a7cf8fd07 100644 --- a/R/navbar-menu.R +++ b/R/navbar-menu.R @@ -202,7 +202,8 @@ navbar_html_text <- function(x) { cli::cli_inform( c( x = "Icon {.str {x$icon}} lacks an {.var aria-label}.", - i = "Specify {.var aria-label} to make the icon accessible to screen readers." + i = "Specify {.var aria-label} to make the icon accessible to screen readers.", + i = "Learn more in {.vignette accessibility}." ), .frequency = "regularly", .frequency_id = "icon-aria-label" diff --git a/tests/testthat/_snaps/navbar-menu.md b/tests/testthat/_snaps/navbar-menu.md index bcaf29cf4..486696581 100644 --- a/tests/testthat/_snaps/navbar-menu.md +++ b/tests/testthat/_snaps/navbar-menu.md @@ -52,6 +52,7 @@ Message x Icon "fa-question" lacks an `aria-label`. i Specify `aria-label` to make the icon accessible to screen readers. + i Learn more in `vignette(accessibility)`. This message is displayed once every 8 hours. # simple components don't change without warning