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-log.c')
-rw-r--r--source/ui-log.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-log.c b/source/ui-log.c
index a01ef4e..870ff06 100644
--- a/source/ui-log.c
+++ b/source/ui-log.c
@@ -585,7 +585,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
html("<tbody class='log'>\n<tr class='nohover'>");
if (commit_graph)
- html("<th></th>");
+ html("<th scope='col' aria-label='Graph'></th>");
else
html("<th class='left' scope='col'>Age</th>");
html("<th class='left' scope='col'>Commit message");