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

fix(ASSETS-6857): Set the tabindex attribute of calendar button according to the disabled attribute value #232

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

BogdanMare
Copy link
Contributor

A keyboard user is unable to tab to the calendar button.
A keyboard user should be able to tab to the calendar button, and the element should be announced as a button.
@review @Pareesh @RitwikSrivastava

Description

Set the tabindex attribute of calendar button according to the disabled attribute value.

Related Issue

https://jira.corp.adobe.com/browse/ASSETS-6857

Motivation and Context

A keyboard user should be able to tab to the calendar button, and the element should be announced as a button.

How Has This Been Tested?

By tabbing through the asset manage publication page and by checking if tabindex attribute of calendar button is "-1" when disabled and "0" when is not disabled.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@Pareesh Pareesh merged commit 6f3ab89 into adobe:master Aug 29, 2022
github-actions bot pushed a commit that referenced this pull request Aug 30, 2022
## [4.14.5](v4.14.4...v4.14.5) (2022-08-30)

### Bug Fixes

* **ASSETS-6857:** Set the tabindex attribute of calendar button according to the disabled attribute value ([#232](#232)) ([6f3ab89](6f3ab89))
@github-actions
Copy link

🎉 This PR is included in version 4.14.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants