Skip to content

Commit

Permalink
'Click' -> 'follow this link'
Browse files Browse the repository at this point in the history
  • Loading branch information
tjk committed Jan 11, 2021
1 parent f85661b commit 97534c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tabpanelwidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function _install(orig, automatic, cb) {
let accordion
function setAccordion(v, resizeCheck) {
accordion = v
skipB.innerHTML = `Tab through to leave this widget <br />or<br /> Click to go back to the first ${accordion ? "header" : "tab"}`
skipB.innerHTML = `Tab through to leave this widget <br />or<br /> follow this link to go back to the first ${accordion ? "header" : "tab"}`
if (v) {
widget.classList.remove("tpw-tabpanel")
widget.classList.add("tpw-accordion")
Expand Down
2 changes: 1 addition & 1 deletion src/tabpanelwidget.react.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class ReactTabpanelwidget extends React.Component {
renderSkipLink() {
return (
<a ref={this.refSkipLink} href={`#${this.tabId(0)}`} tabIndex={-1} className="tpw-skip">
<b>Tab through to leave this widget<br/>or<br/> Click to go back to the first {this.isAccordion ? "header" : "tab"}</b>
<b>Tab through to leave this widget<br/>or<br/> follow this link to go back to the first {this.isAccordion ? "header" : "tab"}</b>
</a>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/tabpanelwidget.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const Tabpanelwidget = {
h("br"),
"or",
h("br"),
` Click to go back to the first ${this.isAccordion ? "header" : "tab"}`,
` follow this link to go back to the first ${this.isAccordion ? "header" : "tab"}`,
]),
])
},
Expand Down

0 comments on commit 97534c3

Please sign in to comment.