提交 a94b94ff 编写于 作者: R Rachel Macfarlane

Fix #52562, Process Explorer: NVDA reads the whole table dimension every time...

Fix #52562, Process Explorer: NVDA reads the whole table dimension every time before reading each cell value
上级 770beca1
......@@ -56,7 +56,7 @@ table {
width: 100%;
table-layout: fixed;
}
th {
th[scope='col'] {
vertical-align: bottom;
border-bottom: 1px solid #cccccc;
padding: .5rem;
......@@ -80,6 +80,9 @@ td {
.data {
white-space: pre;
padding-left: .5rem;
font-weight: normal;
text-align: left;
height: 22px;
}
tbody > tr:hover {
......
......@@ -8,7 +8,7 @@
</head>
<body aria-label="">
<table id="process-list" aria-live="polite"></table>
<table id="process-list"></table>
</body>
<!-- Startup via processExplorer.js -->
......
......@@ -152,7 +152,8 @@ function updateProcessInfo(processList): void {
pid.classList.add('centered');
pid.textContent = p.pid;
const name = document.createElement('td');
const name = document.createElement('th');
name.scope = 'row';
name.classList.add('data');
name.title = p.cmd;
name.textContent = p.formattedName;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册