Skip to content

Remove invalid ARIA label from notification feed - #2564

Merged
leaf-agent merged 2 commits into
mainfrom
fix/notification-feed-label
Oct 12, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/notification-feed-label

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The notification playground gave each candidate feed an aria-label on a plain div, which lintapple reports as an unsupported ARIA attribute. The enclosing figure already has a visible figcaption naming the candidate, so remove the redundant label.

On the local preview, lintapple's control-state findings fell from two to zero. The focused notification playground tests passed (tests/test_render_widgets.py -k notification_playground, 2 passed).

Refs #2559; the issue's broader UI-tool trial remains open.

@leaf-agent leaf-agent mentioned this pull request Oct 12, 2026

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The generated corpus still sets the removed aria-label, so the fix does not reach that served fixture. test_corpus_is_generated_from_the_examples fails on this exact line. Regenerate the corpus with leaf-dev corpus.

The generated corpus no longer carries the invalid feed aria-label. The source example and corpus now present the same unlabeled feed, with its candidate named by the figure caption.
@leaf-agent
leaf-agent force-pushed the fix/notification-feed-label branch from a7de00b to 32e9257 Compare October 12, 2026 09:20
@leaf-agent
leaf-agent merged commit f189554 into main Oct 12, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/notification-feed-label branch October 12, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant