Commit b1d29891 authored by Thomas Greiner's avatar Thomas Greiner

Issue 7023 - Added warning message for screen readers to issue reporter

parent 28b88174
......@@ -58,6 +58,8 @@
<main>
<div class="page" id="typeSelectorPage">
<span id="sr-warning" tabindex="0" class="sr-only" data-i18n="issueReporter_screenreader_warning"></span>
<h1 class="i18n_issueReporter_typeSelector_heading"></h1>
<p class="i18n_issueReporter_typeSelector_description"></p>
<div id="typeSelectorGroup">
......
......@@ -23,6 +23,11 @@ const {$, asIndentedString} = require("./dom");
document.addEventListener("DOMContentLoaded", () =>
{
ext.i18n.setElementLinks(
"sr-warning",
"mailto:support@adblockplus.org"
);
const cancelButton = $("#cancel");
cancelButton.addEventListener("click", closeMe);
$("#hide-notification").addEventListener("click", () =>
......
......@@ -75,6 +75,9 @@
"issueReporter_processing_screenshot": {
"message": "processing"
},
"issueReporter_screenreader_warning": {
"message": "To help us better understand the issue, a screenshot is required when submitting an issue report. Depending on the website you're currently on, the screenshot might contain personal information. If you're uncomfortable submitting a screenshot, please email your issue to <a0>support@adblockplus.org</a0>."
},
"issueReporter_screenshot_hide": {
"message": "Hide"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment