feat: 添加组件无障碍功能支持 #7272
Annotations
10 errors
|
src/packages/tabbaritem/tabbaritem.taro.tsx#L136
Type '{ children: Element | null; ariaSelected: boolean; id?: string | undefined; className: string; style: { accentColor?: AccentColor | undefined; alignContent?: AlignContent | undefined; ... 854 more ...; glyphOrientationVertical?: GlyphOrientationVertical | undefined; }; ... 4 more ...; ariaRoledescription: string | u...' is not assignable to type 'IntrinsicAttributes & ViewProps'.
|
|
src/packages/swiper/swiper.tsx#L41
Property 'alt' does not exist on type '{ direction: Direction; indicator: ReactNode; loop: boolean; duration: SimpleValue; autoPlay: number | boolean; autoplay: number | boolean; defaultValue: number; ... 7 more ...; id?: string | undefined; }'.
|
|
src/packages/swiper/swiper.taro.tsx#L167
Type '{ children: string | number | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode>; ... 4 more ...; ariaRoledescription: string | undefined; }' is not assignable to type 'IntrinsicAttributes & SwiperItemProps'.
|
|
src/packages/price/price.taro.tsx#L174
Type '{ children: Element; className: string; style: CSSProperties | undefined; ariaLabel: string; }' is not assignable to type 'IntrinsicAttributes & TextProps'.
|
|
src/packages/noticebar/noticebar.taro.tsx#L498
Type '{ size: number; ariaLabel: string; }' is not assignable to type 'IntrinsicAttributes & SVG_IconProps'.
|
|
src/packages/inputnumber/inputnumber.taro.tsx#L233
Type '{ children: Element; className: string; onClick: (e: ITouchEvent) => Promise<void>; ariaRole: string; ariaLabel: string; ariaDisabled: boolean; }' is not assignable to type 'IntrinsicAttributes & ViewProps'.
|
|
src/packages/inputnumber/inputnumber.taro.tsx#L200
Type '{ children: Element; className: string; onClick: (e: ITouchEvent) => Promise<void>; ariaRole: string; ariaLabel: string; ariaDisabled: boolean; }' is not assignable to type 'IntrinsicAttributes & ViewProps'.
|
|
src/packages/inputnumber/inputnumber.taro.tsx#L193
Type '{ children: Element[]; className: string; style: CSSProperties | undefined; ariaLabel: string | undefined; ariaDisabled: boolean; }' is not assignable to type 'IntrinsicAttributes & ViewProps'.
|
|
src/packages/dialog/content.taro.tsx#L66
Type '{ children: (string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | Element | null)[]; ... 5 more ...; tabindex: number; }' is not assignable to type 'IntrinsicAttributes & ViewProps'.
|
|
src/packages/button/button.taro.tsx#L166
Type '{ children: Element; ref: ForwardedRef<HTMLButtonElement>; className: string; style: { [x: `--${string}`]: any; accentColor?: AccentColor | undefined; ... 855 more ...; glyphOrientationVertical?: GlyphOrientationVertical | undefined; }; onClick: (e: ITouchEvent) => void; ariaRole: string; ariaDisabled: boolean | und...' is not assignable to type 'IntrinsicAttributes & ViewProps'.
|
The logs for this run have expired and are no longer available.
Loading