Skip to content

Conversation

@dgozman
Copy link
Contributor

@dgozman dgozman commented Nov 11, 2025

A common technique used for icon fonts is to prepend a ::before { content: "..." } pseudo with a character from a unicode private use area, and define an icon rendering for such a character.

Using such a character as accessible name in getByRole() is not very readable, so avoid that.

Fixes #38173.

A common technique used for icon fonts is to prepend a
`::before { content: "..." }` pseudo with a character from
a unicode private use area, and define an icon rendering for
such a character.

Using such a character as accessible name in `getByRole()`
is not very readable, so avoid that.
@github-actions
Copy link
Contributor

Test results for "MCP"

1 failed
❌ [firefox] › mcp/init-page.spec.ts:21 › --init-page @mcp-windows-latest

2639 passed, 116 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "tests 1"

5 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node18`
⚠️ [firefox-page] › page/page-wait-for-function.spec.ts:104 › should work with strict CSP policy `@firefox-ubuntu-22.04-node18`
⚠️ [playwright-test] › ui-mode-test-progress.spec.ts:165 › should update tracing network live `@macos-latest-node18-2`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:659 › should indicate current test status `@macos-latest-node18-2`
⚠️ [playwright-test] › ui-mode-test-attachments.spec.ts:81 › should contain string attachment `@windows-latest-node18-2`

40213 passed, 787 skipped


Merge workflow run.

@dgozman dgozman merged commit 68161ba into microsoft:main Nov 11, 2025
34 of 35 checks passed
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.

[Bug]: CodeGen generates invalid empty name attribute in getByRole for icon-only buttons

2 participants