mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 22:33:32 +08:00
fix: add aria-level to HeaderTitle
This commit is contained in:
committed by
Satyajit Sahoo
parent
70691acdfc
commit
2d1da7ef2f
@@ -21,6 +21,7 @@ export default function HeaderTitle({ tintColor, style, ...rest }: Props) {
|
||||
return (
|
||||
<Animated.Text
|
||||
accessibilityRole="header"
|
||||
aria-level="1"
|
||||
numberOfLines={1}
|
||||
{...rest}
|
||||
style={[
|
||||
|
||||
Reference in New Issue
Block a user