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

add presentation role to root div #9828

Closed
wants to merge 3 commits into from
Closed

Conversation

DarioR01
Copy link
Contributor

@DarioR01 DarioR01 commented Jan 28, 2022

Resolves #9746

Overall change:
role presentation added to the root div. More info in the issue linked above.

Code changes:

  • As above

  • I have assigned myself to this PR and the corresponding issues
  • I have added the cross-team label to this PR if it requires visibility across World Service teams
  • I have assigned this PR to the Simorgh project
  • (BBC contributors only) This PR follows the repository use guidelines

Testing:

  • Automated (jest and/or cypress) tests added (for new features) or updated (for existing features)
  • If necessary, I have run the local E2E non-smoke tests relevant to my changes (CYPRESS_APP_ENV=local CYPRESS_SMOKE=false yarn test:e2e:interactive)
  • This PR requires manual testing

@DarioR01 DarioR01 self-assigned this Jan 28, 2022
@DarioR01 DarioR01 added a11y Accessibility-related task bug Something isn't working a11y-swarm An a11y swarm (clarify dev or full team in the desc) needs to be carried out before moving to test labels Jan 28, 2022
<div id="root" dangerouslySetInnerHTML={{ __html: html }} />
<div
id="root"
role="presentation"
Copy link

@greenc05 greenc05 Jan 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a note/comment somewhere to say what this if for please?

@DarioR01
Copy link
Contributor Author

DarioR01 commented Apr 13, 2022

Closing this to clean up our workspace. If we decide to make this change is very easy to re-implement. I linked this PR to the main issue for reference.

@DarioR01 DarioR01 closed this Apr 13, 2022
@DarioR01 DarioR01 deleted the bug-NVDA-clickable branch April 13, 2022 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility-related task a11y-swarm An a11y swarm (clarify dev or full team in the desc) needs to be carried out before moving to test bug Something isn't working Do not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigation: Why does NVDA read out 'clickable' when reading images
3 participants