Commit 37cd15d4 authored by Joanmarie Diggs's avatar Joanmarie Diggs

Don't present aria-placeholder value when it's identical to aria-label

parent 07ca6e70
......@@ -366,11 +366,11 @@ class Generator:
"""
attrs = self._script.utilities.objectAttributes(obj)
placeholder = attrs.get('placeholder-text')
if placeholder:
if placeholder and placeholder != obj.name:
return [placeholder]
placeholder = attrs.get('placeholder')
if placeholder:
if placeholder and placeholder != obj.name:
return [placeholder]
return []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment