Fix #52562, Process Explorer: NVDA reads the whole table dimension every time before reading each cell value

This commit is contained in:
Rachel Macfarlane
2019-01-25 15:41:35 -08:00
parent 770beca118
commit a94b94ff57
3 changed files with 7 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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 -->

View File

@@ -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;