Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Name the graph and links header cells
Both were empty, so a screen reader moving through the table announced those columns with no name. An aria-label names them without adding text to the page.
Diffstat (limited to 'source/ui-tree.c')
-rw-r--r--source/ui-tree.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-tree.c b/source/ui-tree.c
index 1d8bb3d..69c0763 100644
--- a/source/ui-tree.c
+++ b/source/ui-tree.c
@@ -425,7 +425,7 @@ static void ls_head(void)
html("<th class='left ls-mode' scope='col'>Mode</th>");
html("<th class='left' scope='col'>Name</th>");
html("<th class='right' scope='col'>Size</th>");
- html("<th class='ls-links'></th>");
+ html("<th class='ls-links' scope='col' aria-label='Links'></th>");
html("</tr>\n");
}