Closed Bug 1687198 Opened 4 years ago Closed 4 years ago

Inspector doesn't understand "aria-labelled-by"

Categories

(DevTools :: Accessibility Tools, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: miketaylr, Unassigned)

Details

Attachments

(1 file)

This came up in https://github.com/webcompat/webcompat.com/pull/3516

For the following pattern:

<div class="circle">
        <div class="number">2</div>
        <div class="icon"></div>
</div>
<div id="step-label-address" class="description">Web address</div>

and

.step.complete .icon {
    content: url(dd8ea4f7ca33ade7ec066633757f1926.svg);
    display: none;
    height: auto;
    width: 8px;
}

I want to mark <div class="icon"></div> as labelled by step-label-address and not get an error in the accessbility inspector.

If I duplicate the description via aria-label, it stops complaining at me. But that seems bad to repeat the same text twice.

Turns out this is invalid, due to a typo. Wee!

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: