diff --git a/R/ro_dt_theme.R b/R/ro_dt_theme.R index 173510f..313f2b8 100644 --- a/R/ro_dt_theme.R +++ b/R/ro_dt_theme.R @@ -215,6 +215,19 @@ ro_dt_theme <- function( outline-offset: 2px !important; box-shadow: none !important; } + + /* Screen-reader-only text (not dependent on host Bootstrap version) */ + .visually-hidden { + position: absolute !important; + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0, 0, 0, 0) !important; + white-space: nowrap !important; + border: 0 !important; + } ", base_family, base_family,