Skip to content

Commit

Permalink
misc: Fix some a11y violations using Cypress Cloud (#28628)
Browse files Browse the repository at this point in the history
* Attempt to fix a11y violation with aria role of expanded state

* empty commit

* Add role for option that is in framework dropdown to address a11y violation

Found at https://cloud.cypress.io/projects/ypt4pf/runs/53181/accessibility/025590e09a6edf822a6d05538ae6d876f18ab8fb?snapshotId=3639cfec723398fbc632015ff5b3460bca4c3fcc&violationId=aria-required-children&targetId=I2hlYWRsZXNzdWktbGlzdGJveC1vcHRpb25zLTc%3D

* Add alt text for CI provider images

* Add aria-label to readonly label for a11y

* Add title to stub to reflect title addition in services

* Add changelog entry

* Update packages/frontend-shared/src/gql-components/topnav/PromptContent.vue

Co-authored-by: Bill Glesias <bglesias@gmail.com>

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
  • Loading branch information
jennifer-shehane and AtofStryker authored Jan 10, 2024
1 parent aeb5f14 commit 765b859
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ _Released 1/16/2024 (PENDING)_

**Misc:**

- Improved accessibility of some areas of the Cypress App. Addressed in [#28628](/~https://github.com/cypress-io/cypress/pull/28628).
- Updated some documentation links to go through on.cypress.io. Addressed in [#28623](/~https://github.com/cypress-io/cypress/pull/28623).

## 13.6.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const stubQuery: MaybeResolver<Query> = {
videoEmbedHtml () {
return `<iframe
src="https://player.vimeo.com/video/855168407?h=0cbc785eef"
title="Video about what is new in Cypress"
class="rounded h-full bg-gray-1000 w-full"
frameborder="0"
allow="autoplay; fullscreen; picture-in-picture"
Expand Down
1 change: 1 addition & 0 deletions packages/frontend-shared/src/components/Collapsible.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
>
<div
data-cy="collapsible-header"
role="button"
:aria-expanded="isOpen"
class="rounded-t focus:outline-indigo-500"
:class="{'rounded-b': !isOpen}"
Expand Down
1 change: 1 addition & 0 deletions packages/frontend-shared/src/components/TerminalPrompt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:value="command"
data-cy="terminal-prompt-input"
class="border-none flex-1"
aria-label="Terminal command"
>
<div class="font-sans">
<CopyButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<img
:src="provider.icon"
width="14"
:alt="`${provider.name} logo`"
>
</template>
{{ provider.name }}
Expand Down
2 changes: 1 addition & 1 deletion packages/launchpad/src/setup/FrameworkOptionsFooter.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template>
<template role="option">
<div class="flex bg-gray-50 h-[48px] py-[12px] px-[17px] text-gray-800 items-center">
<div>
<Icon
Expand Down

4 comments on commit 765b859

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 765b859 Jan 10, 2024

Choose a reason for hiding this comment

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

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.3/linux-arm64/develop-765b859a093f5bdb4072cd87773d6faba98b4388/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 765b859 Jan 10, 2024

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.3/linux-x64/develop-765b859a093f5bdb4072cd87773d6faba98b4388/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 765b859 Jan 10, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.3/darwin-x64/develop-765b859a093f5bdb4072cd87773d6faba98b4388/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 765b859 Jan 10, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.3/darwin-arm64/develop-765b859a093f5bdb4072cd87773d6faba98b4388/cypress.tgz

Please sign in to comment.