Will an empty string be ignored by screen readers or should i avoid adding them to the element if the string is empty?
For reference, this is a usecase in react where you want to default to an empty string to avoid having to check for undefined:
<input
id={id}
value={value}
{...(ariaLabel ? { 'aria-label': ariaLabel } : {})}
/>