Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MARP-452 check accessibility of new website #85

Merged

Conversation

tutn-axonivy
Copy link
Contributor

No description provided.

…heck-accessibility-of-new-Website

# Conflicts:
#	marketplace-ui/src/app/modules/product/product-card/product-card.component.html
#	marketplace-ui/src/app/modules/product/product.component.html
Copy link
Contributor

@ndkhanh-axonivy ndkhanh-axonivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check this comments, please pull code from develop and handle conflicts. Thanks!

height="70"
[ngSrc]="product | logo"
[alt]="product.names | multilingualism: languageService.selectedLanguage()" />
@if (isShowInRESTClientEditor) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was not being removed, just re-formatted in the same line in line 5th

<p class="text-secondary mb-2 mt-3">
<app-star-rating [rate]="feedback.rating" (rateChange)="onRateChange($event)" [starClass]="'adding-feedback-star'"
[ratingStarsClass]="'rating-stars'" />
<p [lang]="languageService.selectedLanguage()" [lang]="languageService.selectedLanguage()"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are duplicated code

{{ tab.label | translate }}
</a>
</li>
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check format of this code

(productStarRatingService.totalComments() > 0
? 'common.feedback.reviewLabel'
: 'common.feedback.reviewLabelNoYet'
) | translate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the pipe translate

class="form-control bg-secondary me-2 border-0 header__search-input bg-secondary"
type="input"
[placeholder]="
<input autocomplete="on" [lang]="languageService.selectedLanguage()" class="form-control bg-secondary me-2 border-0 header__search-input bg-secondary"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need turn field autocomplete on?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its 1.3.5 Identify input purpose (AA)

…heck-accessibility-of-new-Website

# Conflicts:
#	marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-star-rating-panel/add-feedback-dialog/add-feedback-dialog.component.html
#	marketplace-ui/src/app/modules/product/product-detail/product-detail.component.html
#	marketplace-ui/src/app/shared/components/footer/footer.component.html
[alt]="
product.names | multilingualism: languageService.selectedLanguage()
"
[lang]="languageService.selectedLanguage()" />
@if (isShowInRESTClientEditor) {
<div
class="card__tag lh-md px-2 py-1 text-capitalize"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add lang for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not use translate or multilingualism pipe so it should not include lang

Copy link
Contributor

@ndkhanh-axonivy ndkhanh-axonivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tutn-axonivy tutn-axonivy merged commit b253040 into develop Aug 12, 2024
5 checks passed
@tutn-axonivy tutn-axonivy deleted the feature/MARP-452-Check-accessibility-of-new-Website branch August 12, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants