Browse Source

SONAR-18141 Status message is not automatically announced

tags/9.9.0.65466
stanislavh 1 year ago
parent
commit
314b5fbc63

+ 5
- 5
server/sonar-web/src/main/js/components/controls/SearchBox.tsx View File

/> />
)} )}


{tooShort && minLength !== undefined && (
<span aria-live="assertive" className="search-box-note">
{translateWithParameters('select2.tooShort', minLength)}
</span>
)}
<span aria-live="polite" className="search-box-note">
{tooShort &&
minLength !== undefined &&
translateWithParameters('select2.tooShort', minLength)}
</span>
</div> </div>
); );
} }

+ 4
- 0
server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/SearchBox-test.tsx.snap View File

} }
onClick={[Function]} onClick={[Function]}
/> />
<span
aria-live="polite"
className="search-box-note"
/>
</div> </div>
`; `;

Loading…
Cancel
Save