@MojtabaMosavi
Posted
-
Using
<div aira-hidden="true"></div>
you can hide elements from accessibility API because is purely decorative and to somebody using screen reader does not mean anything. -
Both of the cancel order and proced to payement are semantically and logically described better as links, here is the way I see it, A button is something you use activate and deactivate something, it could be a lamp or a button on a UI but here the purpose fo those two is to take the user to different pages.
Keep coding :=)
Marked as helpful
@rudyjm3
Posted
@MojtabaMosavi Thanks for the feed back :) I believe the 1st part of your comment has to do with the box that contains the payment button and cancel order link. Good to know. I like how you explained the use of links and buttons, makes sense. :)