I am new to accessibility, I have a span with text like below
<span class="text" >Account Information</span>
By default screen reader doesn't stop on my span and doesn't read it, so I googled and searched on SO, but none of the solutions work
I ended up something like below, still not working (I tested on Chrome, with JAWS screen reader)
<span aria-live="assertive" class="text" role="region" tabindex="4" aria-label="Account Information">Account Information</span>
What is the correct way to make screen readers read the span texts?
update full html
<section _ngcontent-lfb-c4="" class="toolbar">
<dx-button _ngcontent-lfb-c4="" class="maximizing-button dx-button dx-button-normal dx-button-mode-contained dx-widget dx-button-has-icon" ng-reflect-element-attr="[object Object]" ng-reflect-icon="material-icons mat-fullscreen" role="button" aria-label="Maximize Widget" tabindex="0" aria-pressed="false">
<div class="dx-button-content"><i class="dx-icon material-icons mat-fullscreen"></i></div>
</dx-button>
<span _ngcontent-lfb-c4="" aria-live="assertive" class="text" role="region" tabindex="4" aria-label="Account Information">
Account Information
</span>
<span _ngcontent-lfb-c4="" class="toolbar-right">
<span _ngcontent-lfb-c1="" class="total-account-value-info" role="note" tabindex="3" toolbar-right="">
(Total Account Value is as of the end of last business day)
</span>
</span>
</section>