Skip to content

Commit 452470e

Browse files
authored
Merge pull request #99 from Katedam/KATEDAM-unorderedlist-item-a11y
Disable screen reader announcement "dot" for unordered list items
2 parents 4f7e98b + 0b0dc3e commit 452470e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/renderRules.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ const renderRules = {
123123
if (hasParents(parent, 'bullet_list')) {
124124
return (
125125
<View key={node.key} style={styles._VIEW_SAFE_list_item}>
126-
<Text style={[modifiedInheritedStylesObj, styles.bullet_list_icon]}>
126+
<Text
127+
style={[modifiedInheritedStylesObj, styles.bullet_list_icon]}
128+
accessible={false}>
127129
{Platform.select({
128130
android: '\u2022',
129131
ios: '\u00B7',

0 commit comments

Comments
 (0)