Skip to content
Open
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
1 change: 1 addition & 0 deletions src/components/CommandCenter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ export function CommandCenter() {
{/* Input Field */}
<Show when={isFocused() || isExpanded()}>
<input
aria-label="Search commands"
ref={inputRef}
type="text"
value={query()}
Expand Down
1 change: 1 addition & 0 deletions src/components/CommandPalette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ export function CommandPalette() {
<div
id="quick-input-list"
role="listbox"
aria-label="Command palette options"
style={{ "line-height": "18px" }}
>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/components/ai/SubAgentManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export function SubAgentManager() {
</div>

{/* Agent List */}
<div class="flex-1 overflow-auto">
<div class="flex-1 overflow-auto" aria-label="Sub-agents" role="region">
<Show when={builtInAgents().length > 0}>
<div class="px-3 py-1.5 text-[10px] font-medium uppercase" style={{ color: "var(--text-weaker)" }}>
Built-in
Expand Down
12 changes: 6 additions & 6 deletions src/components/cortex/EnhancedStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ export const EnhancedStatusBar: Component<EnhancedStatusBarProps> = (props) => {
}}
onClick={handleDiagnosticsClick}
>
<CortexIcon name="circle-xmark" size={12} />
<CortexIcon name="circle-xmark" size={12} aria-hidden="true" />
<span>{diagnosticCounts().error}</span>
<CortexIcon name="triangle-exclamation" size={12} />
<CortexIcon name="triangle-exclamation" size={12} aria-hidden="true" />
<span>{diagnosticCounts().warning}</span>
</div>
</CortexTooltip>

<Show when={statusBar.branchName()}>
<CortexTooltip content={`Git Branch: ${statusBar.branchName()}`} position="top">
<div style={itemStyle} onClick={handleBranchClick}>
<CortexIcon name="code-branch" size={12} />
<CortexIcon name="code-branch" size={12} aria-hidden="true" />
<span>{statusBar.branchName()}</span>
<Show when={statusBar.hasChanges()}>
<span style={{ color: "var(--cortex-warning)" }}>*</span>
Expand All @@ -144,7 +144,7 @@ export const EnhancedStatusBar: Component<EnhancedStatusBarProps> = (props) => {
}}
onClick={handleTrustClick}
>
<CortexIcon name="shield-exclamation" size={12} />
<CortexIcon name="shield-exclamation" size={12} aria-hidden="true" />
<span>Restricted</span>
</div>
</CortexTooltip>
Expand Down Expand Up @@ -226,7 +226,7 @@ export const EnhancedStatusBar: Component<EnhancedStatusBarProps> = (props) => {
}}
onClick={handleNotificationsClick}
>
<CortexIcon name="bell" size={14} />
<CortexIcon name="bell" size={14} aria-hidden="true" />
<Show when={statusBar.notificationCount() > 0}>
<span
style={{
Expand Down Expand Up @@ -281,7 +281,7 @@ const StatusBarItem: Component<StatusBarItemProps> = (props) => {
aria-label={props.item.accessibilityLabel || props.item.tooltip}
>
<Show when={props.item.icon}>
<CortexIcon name={props.item.icon!} size={12} />
<CortexIcon name={props.item.icon!} size={12} aria-hidden="true" />
</Show>
<Show when={props.item.text}>
<span>{props.item.text}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function CortexCommandPalette() {
onInput={(e) => palette.setQuery(e.currentTarget.value)} onKeyDown={handleKeyDown}
aria-haspopup="listbox" aria-autocomplete="list" aria-controls="cortex-palette-list" style={inputStyle} />
</div>
<div id="cortex-palette-list" role="listbox" ref={listRef} style={listStyle}>
<div id="cortex-palette-list" role="listbox" aria-label="Command palette options" ref={listRef} style={listStyle}>
<Show when={flatList().length === 0}>
<div style={emptyStyle}>No commands found</div>
</Show>
Expand Down
2 changes: 1 addition & 1 deletion src/components/cortex/dialogs/GoToSymbolDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function GoToSymbolDialog() {
</div>
</div>
<div class="quick-input-progress"><div class="progress-bit" /></div>
<div class="quick-input-list" id="symbol-picker-list" role="listbox">
<div class="quick-input-list" id="symbol-picker-list" role="listbox" aria-label="Symbol list">
<div ref={listRef} class="list-container" style={{ "max-height": "440px", overflow: "auto", "overscroll-behavior": "contain" }}>
<Show when={outlineState.loading}>
<div style={{ padding: "16px", "text-align": "center" }}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/palette/CommandPalette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export function PaletteCommandPalette() {
onInput={e => setQuery(e.currentTarget.value)} onKeyDown={handleKeyDown}
style={{ flex: "1", height: "18px", background: "transparent", border: "none", outline: "none", color: "var(--jb-text-body-color)", "font-size": "11px" }} />
</div>
<div role="listbox" style={{ "line-height": "18px" }}>
<div role="listbox" aria-label="Command palette options" style={{ "line-height": "18px" }}>
<div ref={listRef} style={{ "max-height": "280px", overflow: "auto", "overscroll-behavior": "contain", "padding-bottom": "3px" }}>
<Show when={flatList().length === 0}>
<div style={{ padding: "10px", "text-align": "center", "font-size": "10px", color: "var(--jb-text-muted-color)" }}>No commands found</div>
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/ConfirmDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const ConfirmDialog: Component<ConfirmDialogProps> = (props) => {
<div style={bodyStyle}>
<div style={iconContainerStyle}>
<CortexIcon
aria-hidden="true"
name="triangle-exclamation"
size={20}
style={{ color: "var(--cortex-warning, #F59E0B)" }}
Expand Down