提交 f3abdef2 编写于 作者: D David Barbet

Override definition string content to exclude hashcode for screen readers.

上级 136edb12
......@@ -42,6 +42,16 @@ public override bool TryGetValue(string key, out object content)
return content != null;
}
/// <summary>
/// Override the string content to provide a name without a hashcode so that screen readers function correctly.
/// https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1020534/
/// </summary>
public override bool TryCreateStringContent(out string content)
{
content = DefinitionItem.DisplayParts.JoinText();
return true;
}
private object GetValue(string key)
{
switch (key)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册