aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/add-phenotypes-base.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/phenotypes/add-phenotypes-base.html')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-base.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-base.html b/uploader/templates/phenotypes/add-phenotypes-base.html
index 97b55f2..a2d9484 100644
--- a/uploader/templates/phenotypes/add-phenotypes-base.html
+++ b/uploader/templates/phenotypes/add-phenotypes-base.html
@@ -48,7 +48,7 @@
These phenotypes are published</label>
</div>
- <fieldset id="fldset-publication-info" class="hidden">
+ <fieldset id="fldset-publication-info" class="visually-hidden">
<legend>Publication Information</legend>
<div class="form-group">
<label for="txt-pubmed-id" class="form-label">Pubmed ID</label>
@@ -60,7 +60,7 @@
</span>
</div>
<span id="search-pubmed-id-error"
- class="form-text text-muted text-danger hidden">
+ class="form-text text-muted text-danger visually-hidden">
</span><br />
<span class="form-text text-muted">
Enter your publication's PubMed ID above and click "Search" to search
@@ -189,10 +189,10 @@
pub_details = $("#fldset-publication-info")
if(event.target.checked) {
// display the publication details
- remove_class(pub_details, "hidden");
+ remove_class(pub_details, "visually-hidden");
} else {
// hide the publication details
- add_class(pub_details, "hidden");
+ add_class(pub_details, "visually-hidden");
}
});
@@ -275,7 +275,7 @@
var fetch_publication_details = (pubmed_id, complete_thunks) => {
error_display = $("#search-pubmed-id-error");
error_display.text("");
- add_class(error_display, "hidden");
+ add_class(error_display, "visually-hidden");
$.ajax("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi",
{
"method": "GET",
@@ -294,7 +294,7 @@
data.result[pubmed_id].error) +
"'. Please check ID you provided and try " +
"again.");
- remove_class(error_display, "hidden");
+ remove_class(error_display, "visually-hidden");
} else {
fetch_publication_abstract(
pubmed_id,