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(ADA-1612): Option to remove role that is set by default (Based on v1.2.10) #61

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

RazvanBrinzoiK05
Copy link
Contributor

@RazvanBrinzoiK05 RazvanBrinzoiK05 commented Sep 4, 2024

With:
kaltura/playkit-js-ui-managers#62

Issue:
Generic role is for use by user agents and not by developers, so we must provide an option to remove the default role for this component.

The fix was added for playkit-js-ui-managers icon wrappers. That repo uses v1.2.10 version of this repo

Fix:
Providing null as a valid prop that will remove the role attribute making the html element generic without developer intervention that can be detected in the developer console.

@RazvanBrinzoiK05 RazvanBrinzoiK05 merged commit e948a66 into master Sep 6, 2024
3 checks passed
RazvanBrinzoiK05 added a commit to kaltura/playkit-js-ui-managers that referenced this pull request Sep 26, 2024
With:
kaltura/playkit-js-common#61

Issue:
Generic role is for use by user agents and not by developers, so it must
be removed

Fix:
Providing null as a valid prop that will remove the role attribute
making the html element generic without developer intervention that can
be detected in the developer console.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants