Skip to content

Conversation

@sfc-gh-bnisco
Copy link
Collaborator

@sfc-gh-bnisco sfc-gh-bnisco commented Dec 18, 2025

Describe your changes

Added comprehensive accessibility (a11y) guidelines to TypeScript coding standards.

GitHub Issue Link (if applicable)

Testing Plan

  • N/A

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@sfc-gh-bnisco sfc-gh-bnisco added change:bugfix PR contains bug fix implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR labels Dec 18, 2025 — with Graphite App
@sfc-gh-bnisco sfc-gh-bnisco removed the change:bugfix PR contains bug fix implementation label Dec 18, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-13411/streamlit-1.52.2-py3-none-any.whl
📦 @streamlit/component-v2-lib Download from artifacts
🕹️ Preview app pr-13411.streamlit.app (☁️ Deploy here if not accessible)

@sfc-gh-bnisco sfc-gh-bnisco added the change:feature PR contains new feature or enhancement implementation label Dec 18, 2025 — with Graphite App
Copy link
Collaborator Author

sfc-gh-bnisco commented Dec 18, 2025

@snyk-io
Copy link
Contributor

snyk-io bot commented Dec 18, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

## Static Data Structures

- Extract static lookup maps and constants to module-level scope outside functions/components
- Static data recreated on every call/render wastes memory and CPU
- Exception: Keep inside function only if data depends on parameters, props, or state

<good-example>

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

note: These newlines are to fix prettier. Without them, it doesn't properly detect the code blocks delineated by ```

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive accessibility (a11y) guidelines to the TypeScript coding standards across three configuration files used by AI coding agents and developers. The guidelines establish best practices for creating accessible web interfaces in the Streamlit frontend codebase.

Key changes:

  • Added a new "Accessibility (a11y) principles" section with 5 major guidelines covering semantic HTML, accessible naming, assistive technology support, keyboard interaction, and focus styling
  • Minor formatting improvements to existing code examples in the "Static Data Structures" section

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
frontend/AGENTS.md Added accessibility guidelines section and improved code example formatting
.github/instructions/typescript.instructions.md Added identical accessibility guidelines section and improved code example formatting
.cursor/rules/typescript.mdc Added identical accessibility guidelines section and improved code example formatting

@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 12-18-_feat_update_agents_rules_for_better_a11y_practices branch from 74c62a2 to 8b8a1f9 Compare December 18, 2025 18:19
@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

📈 Frontend coverage change detected

The frontend unit test (vitest) coverage has increased by 0.0300%

  • Current PR: 86.4200% (12694 lines, 1723 missed)
  • Latest develop: 86.3900% (12662 lines, 1723 missed)

🎉 Great job on improving test coverage!

📊 View detailed coverage comparison

@sfc-gh-bnisco sfc-gh-bnisco marked this pull request as ready for review December 19, 2025 00:07
@sfc-gh-bnisco sfc-gh-bnisco requested a review from a team as a code owner December 19, 2025 00:07
Copy link
Collaborator

@lukasmasuch lukasmasuch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@sfc-gh-bnisco
Copy link
Collaborator Author

Thank you for the approval, @lukasmasuch , can you also approve with your sfc-gh account? Thank you!

Copy link
Collaborator Author

sfc-gh-bnisco commented Dec 22, 2025

Merge activity

  • Dec 22, 5:24 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Dec 22, 5:42 PM UTC: Graphite rebased this pull request as part of a merge.
  • Dec 22, 6:01 PM UTC: @sfc-gh-bnisco merged this pull request with Graphite.

@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from 12-12-_feat_improve_accessibility_of_tooltips_and_markdown_split_split to graphite-base/13411 December 22, 2025 17:25
@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from graphite-base/13411 to develop December 22, 2025 17:40
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 12-18-_feat_update_agents_rules_for_better_a11y_practices branch from 8b8a1f9 to f11bd0d Compare December 22, 2025 17:41
@sfc-gh-bnisco sfc-gh-bnisco merged commit 54363c8 into develop Dec 22, 2025
42 checks passed
@sfc-gh-bnisco sfc-gh-bnisco deleted the 12-18-_feat_update_agents_rules_for_better_a11y_practices branch December 22, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:feature PR contains new feature or enhancement implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants