Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check accessibility (e.g., use of headers for screen reader functionality) #50

Open
hanneoberman opened this issue Aug 31, 2020 · 2 comments
Assignees
Labels
review To check or go over at some point, may be an ongoing process

Comments

@hanneoberman
Copy link
Member

See https://engineering-shiny.org/matters.html#web-accessibility

@hanneoberman hanneoberman added the review To check or go over at some point, may be an ongoing process label Aug 31, 2020
@hanneoberman hanneoberman self-assigned this Aug 31, 2020
@hanneoberman
Copy link
Member Author

hanneoberman commented Aug 31, 2020

Add 'alt' tag to images:

plotOutput("plot") %>% 
      tagAppendAttributes(alt = "Plot of iris")

@hanneoberman
Copy link
Member Author

Add keystroke instead of click for action buttons:

textInput("text", "title") %>% 
      tagAppendAttributes(
        onKeyPress = "Shiny.setInputValue(
        'keypress', 
        {value : event.key}, 
        {priority: 'event'}
        )"
      ), 
    actionButton("go", "Go")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review To check or go over at some point, may be an ongoing process
Projects
None yet
Development

No branches or pull requests

1 participant