[ic-tooltip] Update code examples so they work with screen readers
Summary of the bug
Current guidance suggests using ic-tooltips in the following way:
<ic-tooltip label="the label" target="button-0">
<ic-button id="button-0" aria-describedby="ic-tooltip-button-0">Button</ic-button>
</ic-tooltip>
In order for the label of ic-tooltips to be announced by screen readers, they need to be used in the following way:
<ic-tooltip id="tooltip-0" label="the label">
<ic-button aria-describedby="tooltip=0">Button</ic-button>
</ic-tooltip>
The code examples should be updated to use ic-tooltips in this way.
Note that thetarget prop is not used, as it doesn't do anything. It will be removed from the ui-kit in UI kit #3978.
Also note that ic-tooltips will only work properly with screen readers after UI kit #3853.
I have ample experience in frontend development Please assign me this task ETA 2 hours?
On hold until #3853 is done so we're sure what the code examples should be changed to
@Sahib-Aujla this ticket is blocked at the moment but you're welcome to pick this up once it is ready