-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dfeshiny a11y_panel and header functions
- Loading branch information
Showing
4 changed files
with
58 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Version: 1.0 | ||
ProjectId: 3ff89608-36fb-45c8-ba4e-d5904f05c408 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,13 +72,8 @@ ui <- function(input, output, session) { | |
), | ||
|
||
# Header ------------------------------------------------------------------ | ||
shinyGovstyle::header( | ||
main_text = "", | ||
main_link = "https://www.gov.uk/government/organisations/department-for-education", | ||
secondary_text = "Department for Education (DfE) Shiny Template", | ||
logo = "images/DfE_logo_landscape.png", | ||
logo_width = 150, | ||
logo_height = 32 | ||
dfeshiny::header( | ||
header = "Department for Education (DfE) Shiny Template" | ||
), | ||
|
||
# Beta banner ------------------------------------------------------------- | ||
|
@@ -105,7 +100,20 @@ ui <- function(input, output, session) { | |
# Content for these panels is defined in the R/ui_panels/ folder | ||
example_tab_1_panel(), | ||
user_guide_panel(), | ||
a11y_panel(), | ||
shiny::tabPanel( | ||
value = "a11y_panel", | ||
"Accessibility", | ||
dfeshiny::a11y_panel( | ||
dashboard_title = site_title, | ||
dashboard_url = site_primary, | ||
date_tested = "12th March 2024", | ||
date_prepared = "1st July 2024", | ||
date_reviewed = "1st July 2024", | ||
issues_contact = "[email protected]", | ||
non_accessible_components = c("List non-accessible components here"), | ||
specific_issues = c("List specific issues here") | ||
) | ||
), | ||
shiny::tabPanel( | ||
value = "cookies_panel_ui", | ||
"Cookies", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters