Repository navigation
Conversation
|
Following the above, I did /clear and then changed /model from Sonnet 5 to Opus 5 and then asked: starting with https://github.com/TexasDigitalLibrary/Vireo/tree/main_accessibility the branch https://github.com/TexasDigitalLibrary/Vireo/tree/main_2176 was created using a different model. Confirm that the changes in main_2176 fulfil the ticket #2176 the Opus 5 response: Confirmed the branch is a single commit (03aaf6d "2176") on top of main_accessibility, touching 20 HTML templates. main_accessibility is currently identical to main, so the diff is the whole change. What it gets right Coverage is complete for the literal ask (WCAG 2.2 SC 1.1.1, non-text content). I grepped the branch for glyphicon-pencil: all 24 occurrences in src/main/webapp are now handled, with no stragglers. Two correct patterns are used:
I verified the interpolations actually resolve: properties and item are in scope in the drag-and-drop item templates (dragAndDropListDirective.js:43 sets $scope.properties), properties[0] is the display name in every caller I checked (["name"], ["label", …], ["gloss"], ["value"], ["month"]), to-string='toMonthString(month)' is genuinely passed in graduationMonths.html:20, and fieldProfile is an isolate-scope binding in submissionInfoDirective.js:10. No broken labels. What's wrong
Recommendation The change is safe to merge as a strict improvement over the current state — nothing it does is worse than an unlabelled icon, and the 1.1.1 gap the ticket names is closed. But I would not call #2176 done without:
|
The alt text added for the pencil icons marked them as role="button" and gave them a tab stop, but nothing activated them from the keyboard and most were hidden in a way that kept them out of the tab order entirely. Add a keyboardActivate directive that activates role="button" elements on enter and space by dispatching a click, which also reaches the handler when it sits on an ancestor, as it does for the email workflow rules. Reveal the hover-only icons on focus as well as hover. They were hidden with display: none and visibility: hidden, neither of which leaves an element focusable, so hide them with opacity instead. The pencil in the custom action list sits outside the element carrying the click handler, so mark it decorative and label that element instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Description
add aria-label for spans using glyphicon-pencil
add tab-index="0" and role="button" when needed
decorative icons get aria-hidden="true"
Type of Change
AI Usage Disclosure
AI Tool(s) Used Including Version:
claude-sonnet-5-5
Nature of Use:
Additional Description:
"read the ticket #2176 and help me identify all pecild edit icons that require alt text"
manually used git diff to study all the changes before commit
still learning my way through using claude and testing tools to verify the results so this is going to be merged with my branch 'main_accessibility' for now