fix #228599
parent
d34e04970c
commit
9e613689d2
|
@ -11,6 +11,7 @@ import { AccessibilityVerbositySettingId } from '../../accessibility/browser/acc
|
|||
import { IAccessibleViewService } from '../../../../platform/accessibility/browser/accessibleView.js';
|
||||
import { ChatTreeItem } from './chat.js';
|
||||
import { isRequestVM, isResponseVM, IChatResponseViewModel } from '../common/chatViewModel.js';
|
||||
import { isMacintosh } from '../../../../base/common/platform.js';
|
||||
|
||||
export class ChatAccessibilityProvider implements IListAccessibilityProvider<ChatTreeItem> {
|
||||
|
||||
|
@ -24,7 +25,7 @@ export class ChatAccessibilityProvider implements IListAccessibilityProvider<Cha
|
|||
}
|
||||
|
||||
getRole(element: ChatTreeItem): AriaRole | undefined {
|
||||
return 'listitem';
|
||||
return isMacintosh ? 'listitem' : 'document';
|
||||
}
|
||||
|
||||
getWidgetAriaLabel(): string {
|
||||
|
|
Loading…
Reference in New Issue