Skip to content

Conversation

@web-padawan
Copy link
Member

Description

The usage of tabindex was necessary with Polymer: back in the day, tabIndex would be converted to tab-index attribute and there was no way to configure this. With Lit, we can use attribute: 'tabindex' instead.

Type of change

  • Refactor

* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
*/
tabindex: number | null | undefined;
tabIndex: number;
Copy link
Member Author

Choose a reason for hiding this comment

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

This change is needed to avoid conflicting with standard HTML which uses number.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
4.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@web-padawan web-padawan marked this pull request as draft November 25, 2025 14:26
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.

2 participants