Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostPublishPanel: constraint tabbing within panel #11403

Merged
merged 5 commits into from
Nov 5, 2018

Conversation

oandregal
Copy link
Member

@oandregal oandregal commented Nov 2, 2018

Addresses part of #4187 (comment)

@oandregal oandregal self-assigned this Nov 2, 2018
@oandregal oandregal added the [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). label Nov 2, 2018
@oandregal oandregal changed the title Constrain tabbing to within the PostPublishPanel PostPublishPanel: constraint tabbing Nov 2, 2018
@oandregal oandregal added this to the Merge: Accessibility milestone Nov 2, 2018
@oandregal oandregal requested a review from tofumatt November 2, 2018 12:59
Copy link
Member

@tofumatt tofumatt left a comment

Choose a reason for hiding this comment

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

Makes sense to me; any chance we could get a quick E2E test here that ensures that tabbing doesn't move outside the panel? 😄

@tofumatt tofumatt modified the milestones: Merge: Accessibility, 4.3 Nov 2, 2018
@oandregal oandregal force-pushed the update/publish-flow-accesibility branch from f3f509f to aff5406 Compare November 5, 2018 09:27
@oandregal
Copy link
Member Author

Not that I haven't tried! But I'm struggling to see what makes Puppeteer sad. In theory, tests should be as simple as this. In practice, they are failing.

The problem seems to be that focus stays and the title and doesn't change to the PostPublishPanel after it is opened - it works properly in Gutenberg across browsers. @tofumatt would you have any guess why that's failing in Puppeteer?

@oandregal oandregal changed the title PostPublishPanel: constraint tabbing PostPublishPanel: constraint tabbing within panel Nov 5, 2018
@oandregal
Copy link
Member Author

Figured in 05f51f3: the post needs to have some content to be publishable.

@oandregal oandregal merged commit e7ec3b3 into master Nov 5, 2018
@oandregal oandregal deleted the update/publish-flow-accesibility branch November 5, 2018 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants