-
Notifications
You must be signed in to change notification settings - Fork 3
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 accessibleName
and helpText
#67
Comments
Related to my estimate in phetsims/scenery-phet#71, @kathy-phet asked us to proceed with the
|
We finish with the design for accessible names and help Text in the design doc. I add them in the design doc, as it was proposed by the accessibility team, in the Interactivity section of each screen. I think that plan this in the design doc is good! But we need a meeting to communicate to @pixelzoom how to convert the content in the document to code for the a11y view. I am not sure if is better to meet soon or until spectrometer and the second screen have more development, |
Thanks @DianaTavares. It would be best to add these features incrementally, as the sim is implemented -- there's no need to wait until the sim is feature-complete. With that in mind, I'll review the design document, then schedule a meeting for next week to review how to implement what is specified. |
@DianaTavares @pixelzoom I added a few suggestions/clarifying comments to the doc. |
As part of this work, @kathy-phet also requested that I "work with dev team around strategy for translation of these (that would scale for more complex strings)." I plan to start with the approach used in the past. That is, put all of these strings under Then I'll start a disussion with devs about how to make these translatable and scalable. |
@arouinfar pointed me to ConcentrationControlModeRadioButtonGroup in GreenhouseGasConcentrationPanel.ts as an example of how accessibleName and helpText are done for radio button groups. See relevant code below. MOTHA radio button groups would probably be // pdom
labelTagName: 'h4',
labelContent: GreenhouseEffectStrings.a11y.concentrationPanel.experimentModeStringProperty,
helpText: GreenhouseEffectStrings.a11y.concentrationPanel.experimentModeHelpTextStringProperty, |
In the commits above, I fleshed out the Energy Levels screen, and added correct names and numbering for the Spectrometer snapshots. There is a lot of duplication in the ScreenView subclasses that I plan to address later. But this addresses the immediate goal of making it easier to review description features. |
@terracoda This issue is ready for your review and feedback, including:
|
In Slack#models-of-the-hydrogen-atom...
|
The Light Source interaction is not being communicated as an on/off switch like in Molecules and Light. Are they not the same component? Electron Energy Levels accordion title - "Levels" is plural in the PDOM, but singular on the screen. They should be the same, whichever one is correct.
I have a proposed design for the Experiment - Model A-B Switch. I will create a separate issue for this. The on/off switch doesn't work for an A-B Switch. Absorption/ Emission checkbox - @DianaTavares would it make sense to say "chart" or "table" in the name and/or help text instead of "dialog." Now that I have seen the content several times, the content looks like a single column or two column chart or table to me. For help text, I propose:
Atomic Model radiogroup on screen 1
|
Assigning to @DianaTavares and @pixelzoom to review suggested changes to help text. Any additional descriptions - the ones that go beyond accessible names and help text - would likely require a discussion with @kathy-phet. They may not be appropriate for the upcoming release. |
@pixelzoom, The change requests and additional comments are in the comment. |
@terracoda thanks for the feedback!
Needs more discussion. Tracking in #76.
It should be singular, and was singular in the Java version -- I've fixed the accessible name (b1583e2) and the design doc. Singular is appropriate because hydrogen has 1 electron, the electron has 1 energy level at any given time, and the accordion box shows the enery level (state) that the electron is currently in.
Needs more discussion. Tracking in #75.
No additional issue is needed. It’s being tracked in #74.
Needs more discussion. Tracking in #77.
Not a problem. It is a pedagogical design decision.
Needs more discussion, and approval from @kathy-phet to spend time on this. Tracking in #79.
Needs more discussion, and approval from @kathy-phet to spend time on this. Tracking in #80
Thanks for reporting. For future reference, when a sim crashes, it's helpful to open the browser console and report any details that are provided there. I'm guessing it hit #59, since that is a known problem in the Scrodinger model, "Experiment" uses the Schrodinger model, and you had the mode set to "Experiment". So we don't need to be concerned about this crash for the purposes of this GitHub issue.
Needs more discussion. Tracking in #78. |
11/7/24 design meeting: @DianaTavares @arouinfar @kathy-phet @terracoda @LindaStegemann @ariel-phet @KatieWoe @pixelzoom All feedback was discussed. Remaining work is being tracked in other GitHub issues. So closing this issue. |
In 9/25/24 standup meeting, @DianaTavares mentioned that she has been adding
accessibleName
andhelpText
attributes to the sim design document. She is doing it for practice; there are no plans to implement this for the 1.0 release.@jbphet suggested creating this issue so that future developers/designers will know that this work had been started.
The text was updated successfully, but these errors were encountered: