Open monir-a-khan opened 2 years ago
According to w3c, the tooltip should have role="tooltip". Also an id, the triggering element should have aria-describedby which will refer to this id.
Example scenario which should be achieved is
<button class="notifications" aria-labelledby="notifications-label"> Show tooltip </button> <div role="tooltip" id="notifications-label">A tooltip text</div>
According to w3c, the tooltip should have role="tooltip". Also an id, the triggering element should have aria-describedby which will refer to this id.
Example scenario which should be achieved is