2👍
It gets read in source order. You can get around it a little bit by styling them to appear in a different order:
.checkbox {
display: flex;
flex-direction: row-reverse;
justify-content: start;
}
<div class="checkbox">
<div class="number">012345678</div>
<div class="source">telephone number</div>
</div>
- [Vuejs]-V-if preventing bootstrap dropdown from expanding
- [Vuejs]-Vuejs how can i attach html with v-html
1👍
There are various aria-
attributes that can be used for such purposes.
There is for example the aria-labelledby
attribute that you can use to tell which element should be the label for another element.
<div class="checkbox">
<div class="number" aria-labelledby="phone-number-label">012345678</div>
<div class="source" id="phone-number-label">telephone number</div>
</div>
- [Vuejs]-VueJS: How To Detect Environment
- [Vuejs]-In Vuetify, how to add a button into each row in <v-data-table>?
1👍
You can use aria-flowto attribute: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-flowto
With that You can set custom reading order of html sections.
Update: I found out that aria-flowto is yet not supported by most of the screen readers. For now JAWS does support it, but NVDA does not. Take a look here: https://www.digitala11y.com/aria-flowto-properties/
- [Vuejs]-Axios getting blocked by laravel 7 cors. No "access-control-allow-origin-header"
- [Vuejs]-FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed – JavaScript heap out of memory in production
Source:stackexchange.com