mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 05:31:04 +08:00
Accessibility tests and fixes for copy_view.mako
This commit is contained in:
committed by
Dannon Baker
parent
2562022302
commit
c96e2cd964
@@ -24,6 +24,8 @@ class TestHistoryCopyElements(SeleniumTestCase):
|
||||
self.history_panel_click_copy_elements()
|
||||
|
||||
with self.main_panel():
|
||||
axe_results = self.axe_eval()
|
||||
axe_results.assert_no_violations_with_impact_of_at_least("serious")
|
||||
self.components.history_copy_elements.collection_checkbox(id=input_collection["id"]).wait_for_and_click()
|
||||
self.components.history_copy_elements.collection_checkbox(id=failed_collection["id"]).wait_for_and_click()
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
<% _=n_ %>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<!--base.mako-->
|
||||
${self.init()}
|
||||
<head>
|
||||
|
||||
@@ -54,7 +54,8 @@
|
||||
<div>
|
||||
<form method="post">
|
||||
<div class="toolForm" style="float: left; width: 45%; padding: 0px;">
|
||||
<div class="toolFormTitle">Source History:<br />
|
||||
<div class="toolFormTitle">
|
||||
<label for="source_history">Source History:<br /></label>
|
||||
<select id="source_history" name="source_history" refresh_on_change="true" style="font-weight: normal;">
|
||||
%for i, hist in enumerate(target_histories):
|
||||
<%
|
||||
@@ -107,6 +108,9 @@
|
||||
<div class="toolFormTitle">Destination History:</div>
|
||||
<div class="toolFormBody">
|
||||
<div class="form-row" id="single-destination">
|
||||
<label for="single-dest-select">
|
||||
Chose a destination for copied items
|
||||
</label>
|
||||
<select id="single-dest-select" name="target_history_id">
|
||||
%for i, hist in enumerate(target_histories):
|
||||
<%
|
||||
@@ -144,7 +148,7 @@
|
||||
checked = " checked='checked'"
|
||||
%>
|
||||
<hr />
|
||||
<div style="text-align: center; color: #888;">— OR —</div>
|
||||
<div style="text-align: center; color: #666;">— OR —</div>
|
||||
<div class="form-row">
|
||||
<label for="new_history_name" style="display: inline; font-weight:normal;">New history named:</label>
|
||||
<input id="new_history_name" type="text" name="new_history_name" />
|
||||
|
||||
Reference in New Issue
Block a user