3 ms·
I like the Best practices, for example button https://dev.office.com/fabric#/components/button https://dev.office.com/fabric#/components/button Do Make sure t
by yread 10y ago
I like the Best practices, for example button
https://dev.office.com/fabric#/components/button https://dev.office.com/fabric#/components/button
Do
Make sure the label conveys a clear purpose of the button to the user.
Button labels must describe the action the button will perform and should include a verb. Use concise, specific, self-explanatory labels, usually a single word.
Buttons should always include a noun if there is any room for interpretation about what the verb operates on.
...
Don’t
Don't use generic labels like "Ok," especially in the case of an error; errors are never "Ok."
Don’t place the default focus on a button that destroys data. Instead, place the default focus on the button that performs the "safe act" and retains the content (i.e. "Save") or cancels the action (i.e. "Cancel").
Pity that MS doesn't always follow them...
- zedadex 10y agoComing from windows (trying out mac), I have run into instances where (as I'm so used to the MS way) it's actually kind of jarring seeing dialogs that don't follow that "Don't" suggestion. Granted, I haven't used much new MS software lately, so if they've gotten worse about that as you say that's a shame.
- reitanqild 10y agoOne of the things I remember about moving to Mac was dialogs without a "cancel"-button.