Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): screen readers can browse and Tab through the threads sidebar again without going into focus mode #26690

MergednibarAhmed(GitHub profile, opens in a new tab)merged 7 commits intomain fromrefs/pull/26690/headmerged by shivamhwp(GitHub profile, opens in a new tab) View on GitHub

Showing 11 changed files with 2 additions and 6 deletions (loading 8).

x
0 of 11 viewed, 11 left
2 additions and 2 deletionsapps/web/src/components/sidebar/SidebarDraftBlock.tsxModified
View file
@@ -82,8 +82,8 @@
return (
<li className="list-none py-0.5">
<div
- role="treeitem"
- tabIndex={-1}
+ role="button"
+ tabIndex={0}
data-sidebar-row={`draft:${draftId}`}
aria-label={accessibility.label}
aria-current={accessibility.current}
0 additions and 2 deletionsapps/web/src/components/sidebar/SidebarListMarkers.tsxModified
View file
@@ -130,8 +130,6 @@
className={cn("relative mx-0.5 h-8", props.className)}
<CollapsibleSectionHeader
- role="treeitem"
- tabIndex={-1}
data-sidebar-row={`shelf:${shelf}`}
onClick={props.toggle.onToggle}
expanded={props.toggle.expanded}
0 additions and 2 deletionsapps/web/src/components/sidebar/SidebarProjectFolderHeader.tsxModified
View file
@@ -66,8 +66,6 @@