Candidate Set:

The test logic is any figure element  does not match the following criteria would be listed as a failure:

Has a figcaption descendant
Has an aria-label attribute
Has and aria-labelledby attribute that references a valid ID in the document


The fix is:

We will provide a text input that allows the user to enter alternative text for the figure element. That value of this field will be set at the value of an aria-label attribute that is applied to the element when the fix button is pressed.

this is a goat
This figure has a figcaption
this is a goat
This figure has an aria-label
this is a goat
This figure has an aria-labelledby with an element that has the corresponding id
this is a goat

I am the target for the labelledby attribute