Remove extra "use agenda view for accessibility" messages
Fixes COMMS-1103 Test Plan: * Turn a screen reader on * Navigate to http://localhost:3000/calendar * Use screen reader commands to navigate to month, week, and the top level of the mini calendar * As you are navigating through it, make sure that you're only getting the message to use agenda view once Change-Id: Ic9811cf30ff28a9680afcd4cff7c1f4034c635e7 Reviewed-on: https://gerrit.instructure.com/150232 Tested-by: Jenkins Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com> QA-Review: Aaron Kc Hsu <ahsu@instructure.com> Product-Review: Landon Gilbert-Bland <lbland@instructure.com>
This commit is contained in:
parent
47450fd320
commit
af626792d9
|
@ -47,10 +47,6 @@
|
|||
<a href="#" class="skip-to-calendar screenreader-only"><%= t(:skip_to_calendar, "Skip to calendar") %></a>
|
||||
|
||||
<div class="rs-section">
|
||||
<div tabindex="0" role="note" class="screenreader-only accessibility-warning">
|
||||
<span><%= t 'Mini calendar' %></span>
|
||||
<span><%= t "Warning: For improved accessibility of calendar events, please use the agenda view." %></span>
|
||||
</div>
|
||||
<div id="minical"></div>
|
||||
</div>
|
||||
<div id="select-course-component" class="rs-section"></div>
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
<span class="calendar_view_buttons btn-group" role="tablist">
|
||||
<button type="button" id="week" class="btn calendar-button" role="tab" aria-selected="false" aria-controls="calendar-app" tabindex="-1">
|
||||
{{#t "links.calendar_week"}}Week{{/t}}
|
||||
<span class="screenreader-only accessibility-warning">{{#t "links.accessibility_warning"}}Warning: For improved accessibility of calendar events, please use the agenda view.{{/t}}</span>
|
||||
</button>
|
||||
<button type="button" id="month" class="btn calendar-button" role="tab" aria-selected="false" aria-controls="calendar-app" tabindex="-1">
|
||||
{{#t "links.calendar_month"}}Month{{/t}}
|
||||
<span class="screenreader-only accessibility-warning">{{#t "links.accessibility_warning"}}Warning: For improved accessibility of calendar events, please use the agenda view.{{/t}}</span>
|
||||
</button>
|
||||
<button type="button" id="agenda" class="btn" role="tab" aria-selected="false" aria-controls="calendar-app" tabindex="-1">
|
||||
{{#t "links.calendar_agenda"}}Agenda{{/t}}
|
||||
|
|
Loading…
Reference in New Issue