Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cyan-birds-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lit-labs/ssr-dom-shim': patch
---

Add ariaColIndexText, ariaRelevant and ariaRowIndexText to ElementInternals shim
6 changes: 6 additions & 0 deletions packages/labs/ssr-dom-shim/src/lib/element-internals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const ariaMixinAttributes: ARIAAttributeMap = {
ariaChecked: 'aria-checked',
ariaColCount: 'aria-colcount',
ariaColIndex: 'aria-colindex',
ariaColIndexText: 'aria-colindextext',
ariaColSpan: 'aria-colspan',
ariaCurrent: 'aria-current',
ariaDescription: 'aria-description',
Expand All @@ -40,10 +41,12 @@ export const ariaMixinAttributes: ARIAAttributeMap = {
ariaPosInSet: 'aria-posinset',
ariaPressed: 'aria-pressed',
ariaReadOnly: 'aria-readonly',
ariaRelevant: 'aria-relevant',
ariaRequired: 'aria-required',
ariaRoleDescription: 'aria-roledescription',
ariaRowCount: 'aria-rowcount',
ariaRowIndex: 'aria-rowindex',
ariaRowIndexText: 'aria-rowindextext',
ariaRowSpan: 'aria-rowspan',
ariaSelected: 'aria-selected',
ariaSetSize: 'aria-setsize',
Expand Down Expand Up @@ -71,6 +74,7 @@ export const ElementInternalsShim = class ElementInternals
ariaChecked = '';
ariaColCount = '';
ariaColIndex = '';
ariaColIndexText = '';
ariaColSpan = '';
ariaCurrent = '';
ariaDescription = '';
Expand All @@ -91,10 +95,12 @@ export const ElementInternalsShim = class ElementInternals
ariaPosInSet = '';
ariaPressed = '';
ariaReadOnly = '';
ariaRelevant = '';
ariaRequired = '';
ariaRoleDescription = '';
ariaRowCount = '';
ariaRowIndex = '';
ariaRowIndexText = '';
ariaRowSpan = '';
ariaSelected = '';
ariaSetSize = '';
Expand Down
Loading