hyrax
hyrax copied to clipboard
As a screen reader user editing work descriptions, I want the Remove label for multivalued entries to not reference "previous" values
Descriptive summary
During screen reader testing, tester noted label for "Remove" for multivalued works to reference "previous" rather than value with the "Remove" option
Steps to reproduce the behavior in User Interface (UI)
- Use a screen reader to view your Hyrax application (Windows: Narrator, NVDA, or JAWS; Mac: VoiceOver)
- In the Dashboard, edit a work
- Add multiple titles
- Note the screen reader label refers to the Remove action referring to the "previous" entry
Actual behavior (include screenshots if available)
Acceptance Criteria/Expected Behavior
- [ ] Screen reader label for remove says "this" instead of "previous"
Rationale (for feature request only)
Screen reader testing task was to add and remove another title, tester was uncertain that the "Remove" action would remove the correct value.
Looks like this span is coming from defaults in hydra-editor. It might be possible to pass in a custom option to override when hyrax calls manage_fields or possibly in FieldManager.
@dlpierce's comment on #7291 suggests a different solution. What do you think @nhomenda?