Skip to content

Commit e8800b5

Browse files
authored
refactor!: Rename the StaticText role to Label (#434)
1 parent 4116fb1 commit e8800b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pygame/hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def build_button(id, name):
3434

3535

3636
def build_announcement(text):
37-
builder = accesskit.NodeBuilder(accesskit.Role.STATIC_TEXT)
37+
builder = accesskit.NodeBuilder(accesskit.Role.LABEL)
3838
builder.set_name(text)
3939
builder.set_live(accesskit.Live.POLITE)
4040
return builder.build()

0 commit comments

Comments
 (0)