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

Code review A11y View #916

Closed
zepumph opened this issue Mar 21, 2020 · 4 comments
Closed

Code review A11y View #916

zepumph opened this issue Mar 21, 2020 · 4 comments

Comments

@zepumph
Copy link
Member

zepumph commented Mar 21, 2020

While working on #740 I found some refactoring and improvements to be done. I will link TODOs here, and try to organize things a bit better in this issue.

@zepumph zepumph self-assigned this Mar 21, 2020
zepumph added a commit to phetsims/circuit-construction-kit-dc-virtual-lab that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/balloons-and-static-electricity that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/circuit-construction-kit-ac that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/circuit-construction-kit-dc that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/gravity-force-lab-basics that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/resistance-in-a-wire that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/molecules-and-light that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/gravity-force-lab that referenced this issue Mar 21, 2020
zepumph added a commit to phetsims/john-travoltage that referenced this issue Mar 21, 2020
@zepumph
Copy link
Member Author

zepumph commented Mar 21, 2020

I pulled functions out into its own script. There are a few todos added as well.

@zepumph
Copy link
Member Author

zepumph commented Mar 31, 2020

  • A11y view should use QueryStringMachine.appendQueryString

@zepumph
Copy link
Member Author

zepumph commented Mar 31, 2020

  • It would be nice if the a11y view javascript was linted. The javascript could be pulled out of the sim a11y template into its own js file. Then it could be linted in chipper. Then the grunt process could add it to the a11y view html template.

zepumph added a commit that referenced this issue Mar 31, 2020
@zepumph zepumph removed their assignment Mar 3, 2023
zepumph added a commit to phetsims/circuit-construction-kit-dc-virtual-lab that referenced this issue May 2, 2023
zepumph added a commit to phetsims/john-travoltage that referenced this issue May 2, 2023
zepumph added a commit to phetsims/gravity-force-lab-basics that referenced this issue May 2, 2023
zepumph added a commit to phetsims/resistance-in-a-wire that referenced this issue May 2, 2023
zepumph added a commit to phetsims/models-of-the-hydrogen-atom that referenced this issue May 2, 2023
zepumph added a commit to phetsims/greenhouse-effect that referenced this issue May 2, 2023
zepumph added a commit to phetsims/mean-share-and-balance that referenced this issue May 2, 2023
zepumph added a commit to phetsims/balloons-and-static-electricity that referenced this issue May 2, 2023
zepumph added a commit to phetsims/geometric-optics that referenced this issue May 2, 2023
zepumph added a commit to phetsims/my-solar-system that referenced this issue May 2, 2023
zepumph added a commit to phetsims/circuit-construction-kit-dc that referenced this issue May 2, 2023
zepumph added a commit to phetsims/gravity-force-lab that referenced this issue May 2, 2023
zepumph added a commit to phetsims/circuit-construction-kit-ac that referenced this issue May 2, 2023
zepumph added a commit to phetsims/molecules-and-light that referenced this issue May 2, 2023
zepumph added a commit to phetsims/circuit-construction-kit-ac-virtual-lab that referenced this issue May 2, 2023
samreid added a commit to phetsims/center-and-variability that referenced this issue May 2, 2023
@jessegreenberg
Copy link
Contributor

The remaining TODOs have been addressed.

A11y view should use QueryStringMachine.appendQueryString

I don't see a precedent for this in other chipper templates so I am going to defer this. I don't see an easy way to bring in QueryStringMachine before sim libraries are loaded.

It would be nice if the a11y view javascript was linted.

Ditto, but this is also desired for other templates and will done through #1405.

For this TODO:

TODO: Work on refining this, and only modifying the elements that change in the PDOM

This requires a new implementation of the a11y view and doesn't seem worthwhile at this time. It is inneffecient as noted in the documentation, but has not been an issue over the last 8 years.

Thanks for your work here @zepumph! Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants