summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-01-24 06:43:11 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-01-24 06:43:11 +0100
commitec963661fb29c191fec645a956cbddc670cfa3da (patch)
treec2359cddc61df03f56c4b906ff0efd732c3ada18
parent9382ce42e5a480b0a1f5dd5766c1d492154b7f5a (diff)
downloadbugzilla-ec963661fb29c191fec645a956cbddc670cfa3da.tar.gz
bugzilla-ec963661fb29c191fec645a956cbddc670cfa3da.tar.xz
Bug 1333012 - [a11y] Make sure the attachments table is always a data table for screen reader users
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
index 0604b41bc..a27637056 100644
--- a/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
@@ -12,7 +12,7 @@
# obsolete_attachments: array of obsolete attachment objects
#%]
-<table class="layout-table" id="attachments">
+<table role="table" class="layout-table" id="attachments">
[% FOREACH attachment IN bug.attachments %]
[%
NEXT IF attachment.isprivate && !(user.is_insider || attachment.attacher.id == user.id);