fix(AGC): 不可用模型选项补回模型名到可访问名称
- role=option 的 aria-label 原只放降级原因,覆盖了可见模型名,读屏只报「订阅计划不支持」
- 改为 `${displayName}:${reasonLabel}`,名称与原因都可被朗读
This commit is contained in:
+1
-1
@@ -481,7 +481,7 @@ export function ConversationModelSelect({
|
||||
role="option"
|
||||
aria-selected={false}
|
||||
aria-disabled="true"
|
||||
aria-label={reasonLabel}
|
||||
aria-label={`${model.displayName}:${reasonLabel}`}
|
||||
tabIndex={0}
|
||||
className="conversation-model-menu-option conversation-model-menu-option-locked"
|
||||
data-reason={model.reason}
|
||||
|
||||
Reference in New Issue
Block a user